package containers

  1. Overview
  2. Docs
val mem : ?eq:('a -> 'a -> bool) -> 'a -> 'a t -> bool

membership to the list

val subset : ?eq:('a -> 'a -> bool) -> 'a t -> 'a t -> bool

test for inclusion

val uniq : ?eq:('a -> 'a -> bool) -> 'a t -> 'a t

list uniq: remove duplicates w.r.t the equality predicate

val union : ?eq:('a -> 'a -> bool) -> 'a t -> 'a t -> 'a t

list union

val inter : ?eq:('a -> 'a -> bool) -> 'a t -> 'a t -> 'a t

list intersection

OCaml

Innovation. Community. Security.