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
|
```Ocaml
|
||||||
# let f x = match x with
|
# let f x = match x with
|
||||||
0 -> 18
|
0 -> 18
|
||||||
1 -> 24
|
| 1 -> 24
|
||||||
y -> y + y;;
|
| y -> y + y;;
|
||||||
|
|
||||||
val f : int -> int = <fun>
|
val f : int -> int = <fun>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user