aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utilities.ml
blob: 80ee35de6d9f38de0cd0edbe5b91cd1dc1616fa9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module StringMap = Map.Make (String)
module StringSet = Set.Make (String)

module Result = struct
  let ( let* ) = Result.bind
  let fmap f m = Result.bind m f
end

module Option = struct
  let ( let* ) = Option.bind
end