This snippet gives a compile error:

entity IntergersDontWorkDirectly {
value :: Int
}

entity Foo {
values :: List
}

define output(s : Foo){
block {
output(s.values[1+2])
}
}

Submitted by Sverre Rabbelier on 23 March 2010 at 19:57

Log in to post comments