]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InstanceIsTypoedAsClass.scl
Fixed all line endings of the repository
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / InstanceIsTypoedAsClass.scl
index f3973cccd4ca178174785553ec4766544bf5e4da..2f30e85f5afab8bf35f781a668a363ccf0dc5baa 100644 (file)
@@ -1,9 +1,9 @@
-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