1 import "JavaBuiltin" as Java
3 importJava "org.simantics.scl.runtime.Lists" where
4 sortWith :: (a -> a -> Integer) -> [a] -> [a]
6 //@JavaStaticMethod "org.simantics.scl.runtime.Lists.sortWith"
7 //sortWith :: (a -> a -> Integer) -> [a] -> [a]
10 //sortWith = Java.staticMethod "org.simantics.scl.runtime.Lists.sortWith"
12 dumbCompare :: a -> a -> Integer
15 dumbSort = sortWith dumbCompare