]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeClass.scl
Merge commit '2a46c55'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / TypeClass.scl
1 \r
2 class Foo a where\r
3     foo :: a -> Integer\r
4     \r
5 instance Foo Integer where\r
6     foo x = x\r
7     \r
8 main = foo (13 :: Integer)\r
9 --\r
10 13