]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctionIdentity.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 / 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]