]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/sclTests/SCL/Functions.sts
Export jersey internal packages for jersey-media-multipart
[simantics/platform.git] / bundles / org.simantics.scl.compiler / sclTests / SCL / Functions.sts
1 > id x = x
2 > id 2
3 2
4 > id "Hello!"
5 "Hello!"
6
7 > id = \x -> x
8 > id 2
9 2
10
11 > fib 0 = 1
12 > fib 1 = 1
13 > fib n = fib (n-1) + fib (n-2)
14
15 > fib 2
16 2
17 > fib 3
18 3
19 > fib 4
20 5