]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/MonadSyntax1.scl
Supply SVG text editor with element measurement context
[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]