We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 834b0f1 commit 0c382f4Copy full SHA for 0c382f4
examples/fibonacci-v2.salt
@@ -2,4 +2,4 @@ fib x := guard
2
| x < 2 -> x
3
| otherwise -> fib(x - 1) + fib(x - 2)
4
5
-(1..10).each(i -> p(fib(i)))
+(1..10).each(i -> p . fib $ i)
0 commit comments