The problem is that
data Qslot xf = Qslot String
therefore, itβs a little difficult to understand what x and f can be from a given Qslot βBlah-blahβ form element. There may be a subtle change in the GHC output mechanism as the latest version of qthaskell rose last fall.
In any case, it seems that compiling with some interesting warnings and examples works if you replace
instance (Qstt a (QDialogSc b)) => QsaSlotReject (a) where slotReject' = (Qslot "reject()", \_ -> ()) reject' = slotReject'
from
instance (Qstt a (QDialogSc b)) => QsaSlotReject (a) where slotReject' = (Qslot "reject()", \_ -> ()) reject' = (Qslot "reject()", \_ -> ())
So ghc should not be surprised how much ...
There must be something that makes things more accurate. I do not know if this will reduce the warnings that begin to arise systematically later associated with this line.
applicative
source share