]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctionIdentity.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 / FunctionIdentity.scl
1 import "Prelude"
2
3 f n = do
4   a = n+1
5   \x -> a + x
6
7 main = [atan2 1==atan2 1, atan2 1==atan2 2, f 1==f 1, f 1==f 2]
8 --
9 [true, false, true, false]