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.

貢獻者指南