]> gerrit.simantics Code Review - simantics/platform.git/blob - UnresolvedTypeInInstance.scl
d39827672422fc3250280b97760136833cd7da11
[simantics/platform.git] / UnresolvedTypeInInstance.scl
1 class Functor f where
2     map :: (a -> b) -> f a -> f b
3
4 data Iddd a = Idd a
5
6 instance Functor Idd where
7     map (Idd x) = x
8 --
9 6:18-6:21: Didn't find type constructor Idd.