7 lines
149 B
OCaml
7 lines
149 B
OCaml
module Int = struct
|
|
let to_string = string_of_int
|
|
end
|
|
|
|
module Option = struct
|
|
let map f o = match o with None -> None | Some v -> Some (f v)
|
|
end
|