sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Filter_mappable.Make0SourceMake0 makes an S0 from a Basic0.
module F : Filter_mappable_types.Basic0include Generic_types.S0 with type t := F.t with type elt := F.eltinclude Filter_mappable_types.Generic
with type 'a t := F.t
and type 'a elt := F.eltGeneric strictly extends Generic_basic.
include Filter_mappable_types.Generic_basic
with type 'a t := F.t
with type 'a elt := F.eltGeneric_basic refers to the container type as 'a t, and the element type as 'a elt; substitute t/elt (arity-0) or 'a t/'a (arity-1) accordingly below.
include Generic_types.Generic with type 'a t := F.t with type 'a elt := F.eltfilter c ~f checks f over every t in c, discarding any items for which f returns false.
exclude c ~f checks f over every t in c, discarding any items for which f returns true.
We can also derive Mappable interfaces from filter-mappable ones, but leave that to a separate functor.