]> gerrit.simantics Code Review - simantics/platform.git/blob - scl/List.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / scl / List.scl
1
2 data List a = Nil | Cons a (List a)
3
4 main :: List Integer
5 main = Cons (3 :: Integer) Nil
6 --
7 (Cons 3 Nil)