mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-17 14:47:21 +03:00
Update example.bend
minor fix
This commit is contained in:
parent
7f596ebe5b
commit
730de25f9e
@ -18,7 +18,7 @@
|
||||
(nums) = λx1 λx2 (* (+ x1 1) (/ (- x2 2) 1))
|
||||
|
||||
# You can use numbers on the native match expression
|
||||
# The `+` arm binds the `scrutinee`-1 variable to the the value of the number -1
|
||||
# The `+` arm binds the `scrutinee`-1 variable to the value of the number -1
|
||||
(Num.pred) = λn
|
||||
switch n {
|
||||
0: 0
|
||||
|
Loading…
Reference in New Issue
Block a user