Safe Haskell | None |
---|
Some example usage of the ClassLaws framework
Documentation
We use the MyList datatype to provide instances that do not satisfy some class laws.
foldrMyList :: (a -> b -> b) -> b -> MyList a -> bSource
list2MyList :: [a] -> MyList aSource
myList2List :: MyList a -> [a]Source