Tell specific replacement instead of TODO:
|
type family ElemErrorMessage (t :: k) :: ErrorMessage where |
|
ElemErrorMessage t = |
|
Text "Do not use 'elem' and 'notElem' methods from 'Foldable' on " :<>: ShowType t |
|
:$$: Text "Suggestions:" |
|
:$$: Text " Instead of" |
|
:$$: Text " elem :: (Foldable t, Eq a) => a -> t a -> Bool" |
|
:$$: Text " use" |
|
:$$: Text " member :: ??? -- TODO" |
|
:$$: Text "" |
|
:$$: Text " Instead of" |
|
:$$: Text " notElem :: (Foldable t, Eq a) => a -> t a -> Bool" |
|
:$$: Text " use" |
|
:$$: Text " notMember :: ??? -- TODO" |
|
:$$: Text "" |
Tell specific replacement instead of
TODO:relude/src/Relude/Foldable/Fold.hs
Lines 252 to 265 in 57c865d