-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi Michael,
When I use $(makeLenses ''AnswerMap) I get warnings like:
Top-level binding with no type signature: unAnswerMap :: Functor f => (IM.IntMap (Map PlayerId Answer) -> f (IM.IntMap (Map PlayerId Answer))) -> AnswerMap -> f AnswerMap
I tried adding a type signature before the makeLenses, but GHC complains:
The type signature for ‘unAnswerMap’ lacks an accompanying binding
I like to write my code so that it compiles without warnings. I know I could turn the off with
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
but I would rather not. Any suggestions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels