Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Functor instance for MinLen breaks abstraction #82
Simple demonstration of the problem:
import Data.MinLen len1 :: MinLen (Succ Zero) [()] len1 = mlcons () (toMinLenZero ) len0 :: MinLen (Succ Zero) [()] len0 = fmap (drop 1) len1 main :: IO () main = print $ Data.MinLen.head len0
I see no option but to release a new major version with the
Pinging @gregwebs, in case you have another idea.