-class Functor f where\r
- map :: (a -> b) -> f a -> f b\r
- \r
-data Foo a = Foo a\r
-\r
-class Functor Foo where\r
- map f (Foo x) = Foo (f x)\r
---\r
+class Functor f where
+ map :: (a -> b) -> f a -> f b
+
+data Foo a = Foo a
+
+class Functor Foo where
+ map f (Foo x) = Foo (f x)
+--
6:1-7:30: Class Functor has already been defined in this module.
\ No newline at end of file