package podge

  1. Overview
  2. Docs
val all : f:('a -> bool) -> 'a list -> bool

Evaluate f on each item of the given list and check if all evaluated to true

val any : f:('a -> bool) -> 'a list -> bool

Evaluate f on each item of the given list and check if any evaluated to false

val unique : 'a list -> 'b list
val group_by : ('a * 'b) list -> ('c * 'd list) list
val take : int -> 'a list -> 'a list
val drop : int -> 'a list -> 'a list
val equal_parts : segs:int -> 'a list -> 'a list list