]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Composition.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 / Composition.scl
1 infixr 9 (.)
2
3 @private
4 @inline
5 (f . g) = \x -> f (g x)
6
7 @private
8 @inline
9 flip (x,y) = (y,x)
10
11 @private
12 @inline
13 flip4 = flip . flip . flip . flip
14
15 main = flip4 ("a", "b")
16 --
17 (a,b)