[sledge] Fix doc of List.remove_exn

Reviewed By: jvillard

Differential Revision: D20863527

fbshipit-source-id: 807eb0e51
master
Josh Berdine 5 years ago committed by Facebook GitHub Bot
parent bdba1db6ef
commit ef0dfe0d70

@ -46,7 +46,7 @@ val rev_map_unzip : 'a t -> f:('a -> 'b * 'c) -> 'b list * 'c list
val remove_exn : ?equal:('a -> 'a -> bool) -> 'a list -> 'a -> 'a list val remove_exn : ?equal:('a -> 'a -> bool) -> 'a list -> 'a -> 'a list
(** Returns the input list without the first element [equal] to the (** Returns the input list without the first element [equal] to the
argument, or raise [Not_found] if no such element exists. [equal] argument, or raise [Not_found_s] if no such element exists. [equal]
defaults to physical equality. *) defaults to physical equality. *)
val remove : ?equal:('a -> 'a -> bool) -> 'a list -> 'a -> 'a list option val remove : ?equal:('a -> 'a -> bool) -> 'a list -> 'a -> 'a list option

Loading…
Cancel
Save