ndmitchell/hlint

Support restricting a function in certain modules

Open

#1,392 建立於 2022年7月2日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)Haskell (1,594 star) (208 fork)batch import
good first issue

描述

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.

貢獻者指南