Functor Functors.Make_strip_function (.ml)

module Make_strip_function (S : sig
type t 
type character 
val empty : t
val is_whitespace : character -> bool
val length : t -> int
val find : ?from:int ->
?length:int -> t -> f:(character -> bool) -> int option
val find_reverse : ?from:int ->
?length:int -> t -> f:(character -> bool) -> int option
val sub_exn : t -> index:int -> length:int -> t
end) : sig .. end
Parameters:
S : sig type t type character val empty : t val is_whitespace: character -> bool val length: t -> int val find: ?from:int -> ?length:int -> t -> f:(character -> bool) -> int option val find_reverse: ?from:int -> ?length:int -> t -> f:(character -> bool) -> int option val sub_exn: t -> index:int -> length:int -> t end

val strip : ?on:[< `Both | `Left | `Right > `Both ] ->
?whitespace:(S.character -> bool) -> S.t -> S.t