ndmitchell/hlint

Support restricting a function in certain modules

Aperta

#1392 aperta il 2 lug 2022

 (7 commenti) (0 reazioni) (0 assegnatari)Haskell (208 fork)batch import
good first issue

Metriche repository

Star
 (1602 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor