Skip to content

Commit 0c382f4

Browse files
committed
point free in example
1 parent 834b0f1 commit 0c382f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/fibonacci-v2.salt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ fib x := guard
22
| x < 2 -> x
33
| otherwise -> fib(x - 1) + fib(x - 2)
44

5-
(1..10).each(i -> p(fib(i)))
5+
(1..10).each(i -> p . fib $ i)

0 commit comments

Comments
 (0)