Untitled
unknown
ocaml
3 years ago
100 B
0
Indexable
exception NoneValue let rec option_map f = function None -> raise NoneValue | Some x -> f x;;
Editor is loading...
exception NoneValue let rec option_map f = function None -> raise NoneValue | Some x -> f x;;