]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/MonadSyntax1.scl
(refs #7307) Added features field to SCL module header
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / MonadSyntax1.scl
1 import "Prelude"
2
3 a = [1, 2]
4 b = [5, 6]
5
6 main = mdo 
7   x <- a
8   y <- b
9   return (x+y) 
10 --
11 [6, 7, 7, 8]