Skip to content

Commit 14566af

Browse files
committed
Added the test-resources folder
1 parent 8b5effd commit 14566af

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

test-resources/something.ohuaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module some_ns
2+
3+
import sf ohua.math (add, isZero)
4+
import algo some.module (a)
5+
6+
let square = \x -> add x x;
7+
8+
let algo1 someParam =
9+
let a = square someParam;
10+
coll0 = ohua.lang/smap (\i -> square i) coll
11+
in
12+
if isZero a
13+
then coll0
14+
else a;
15+
16+
let main param param2 =
17+
algo0 param

0 commit comments

Comments
 (0)