]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Monads1.scl
Added info on backup location to documentation backup.
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Monads1.scl
1 import "Prelude"\r
2 \r
3 a = [1, 2]\r
4 b = [5, 6]\r
5 \r
6 main = a >>= \x -> b >>= \y -> return (x+y) \r
7 --\r
8 [6, 7, 7, 8]