• Andrei Paskevich's avatar
    make api of maps/sets more consistent · 33bb423f
    Andrei Paskevich authored
    - change takes function as the first argument
    - add_new takes exception as the first argument
    - find_default is renamed to find_def and takes the default value
      as the first argument
    - find_option is renamed to find_opt (to align with find_exn and find_def)
    - default_option is renamed def_option
    33bb423f
pattern.ml 6.24 KB