-import "JavaBuiltin" as Java\r
-\r
-importJava "org.simantics.scl.runtime.Lists" where\r
- sortWith :: (a -> a -> Integer) -> [a] -> [a]\r
-\r
-//@JavaStaticMethod "org.simantics.scl.runtime.Lists.sortWith"\r
-//sortWith :: (a -> a -> Integer) -> [a] -> [a]\r
-\r
-\r
-//sortWith = Java.staticMethod "org.simantics.scl.runtime.Lists.sortWith"\r
-\r
-dumbCompare :: a -> a -> Integer\r
-dumbCompare x y = 0\r
-\r
-dumbSort = sortWith dumbCompare \r
-\r
-main = "Foo"\r
---\r
+import "JavaBuiltin" as Java
+
+importJava "org.simantics.scl.runtime.Lists" where
+ sortWith :: (a -> a -> Integer) -> [a] -> [a]
+
+//@JavaStaticMethod "org.simantics.scl.runtime.Lists.sortWith"
+//sortWith :: (a -> a -> Integer) -> [a] -> [a]
+
+
+//sortWith = Java.staticMethod "org.simantics.scl.runtime.Lists.sortWith"
+
+dumbCompare :: a -> a -> Integer
+dumbCompare x y = 0
+
+dumbSort = sortWith dumbCompare
+
+main = "Foo"
+--