1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
let f = match x with
| { x = 3 } ->
let x = 4 in
()
let f = match x with
| (X|Y) | (Z|U) -> 1
| K -> 2
let f = match x with
| X when foo = bar ->
fff
| Y when f = x
&& g = 3 ->
z
let f () =
match s with
(* Parenthesized ident ? *)
| x -> x, d
(* Regular ident *)
| _ -> g
;;
match x with
| X | Y -> 1
| X ->
2;
3
| A -> 2
;;
let f g =
(* haha *)
match z with
| Z | B _ -> x
| A (a, _, _, b) as x ->
let x = f a and hr = f b in
f
let unwind_to =
match t with KType | KModule -> true | Kblob -> false
| _ -> true
let f x = match x with
| A | B
| C ->
x
| z -> match z with
| _ -> function
| x ->
x
let fun_dep ulam = function
| A
| B
| C ->
()
let fun_dep ulam = function
|A
|B|C
|D ->
()
let _ =
(match bla
with bli)
|