ndmitchell/hlint

Support restricting a function in certain modules

开放

#1,392 创建于 2022年7月2日

 (7 条评论) (0 个反应) (0 位负责人)Haskell (208 个派生)batch import
good first issue

仓库指标

星标
 (1,602 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

It's possible to restrict a function in all modules except certain modules:

- functions:
  - {name: [fromIntegral], within: 'modules_where_fromIntegral_is_ok'}

But it doesn't seem possible to restrict a function only in certain modules. This would be a useful feature to add.

贡献者指南