vault backup: 2023-09-07 16:16:28
This commit is contained in:
parent
078f102b69
commit
18104924dc
@ -67,8 +67,8 @@ match expr with pattern1 -> result1 | pattern2 -> result2 | ... | patternn -> re
|
||||
```Ocaml
|
||||
# let f x = match x with
|
||||
0 -> 18
|
||||
1 -> 24
|
||||
y -> y + y;;
|
||||
| 1 -> 24
|
||||
| y -> y + y;;
|
||||
|
||||
val f : int -> int = <fun>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user