Module Utils.Functions
val pp_option :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a option ->
unitpp_option pp_some fmt opt prints pp_some fmt x when opt is Some x and "None" otherwise. This is a far more reasonable default than Format.pp_print_option.
range_fold f n init is f 0 init |> f 1 |> ... |> f n