]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/DefaultMethods1.scl
(refs #7307) Added features field to SCL module header
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / DefaultMethods1.scl
index 142dd30a5710c1931e0ea910885b812d5fcd95f8..c0eb3d5e96ba8dcecc2b541be889cdaa12053817 100644 (file)
@@ -1,13 +1,13 @@
-import "JavaBuiltin" as Java\r
-\r
-class Ord a where\r
-    (<) :: a -> a -> Boolean\r
-    min :: a -> a -> a\r
-    min x y = if x < y then x else y\r
-    \r
-instance Ord Integer where\r
-    (<) = Java.icmplt\r
-\r
-main = min (43 :: Integer) (69 :: Integer) \r
---\r
+import "JavaBuiltin" as Java
+
+class Ord a where
+    (<) :: a -> a -> Boolean
+    min :: a -> a -> a
+    min x y = if x < y then x else y
+    
+instance Ord Integer where
+    (<) = Java.icmplt
+
+main = min (43 :: Integer) (69 :: Integer) 
+--
 43
\ No newline at end of file