-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
absrefbugclassesPertaining to checking signatures for classes or instancesPertaining to checking signatures for classes or instancesunsoundness
Description
Via @nilehmann
https://gist.github.com/nilehmann/8ace3dd793dc78bf0af04f8ee3585b84
A.hsthe code is safe using a monad whereUseris hardwiredB.hsthe code is unsafe using a monad whereuseris a parameterC.hsthe code is safe where we use a plainbindTandreturnT
Some mysterious goings on.
- Why is LH not failing on
A.hs,B.hsdemanding that--no-pattern-inline? Both use refined monads? - Also, when run in the latest LH,
Ais safe with 1 checked constraint whileChas 28 checked constraints? - Why does
C.hsneed theassumestatements butAandBdo not? (are instance signatures "assumed" by default??)
@nikivazou -- I think you will need definitely need to take a look at this, it touches two things that I'm unfamiliar
with (the instances and bounds) but I'm guessing that won't happen until the after your deadline next week?
Metadata
Metadata
Assignees
Labels
absrefbugclassesPertaining to checking signatures for classes or instancesPertaining to checking signatures for classes or instancesunsoundness