package preface
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module List.Selective
Type
type 'a t = 'a tThe type held by the Selective.
Functions
val select : ('a, 'b) Preface_core.Shims.Either.t t -> ('a -> 'b) t -> 'b tselect e f apply f if e is Left. It allow to skip effect using Right.
val branch :
('a, 'b) Preface_core.Shims.Either.t t ->
('a -> 'c) t ->
('b -> 'c) t ->
'c tbranch is like select. It chooses between two effects.
include Preface_specs.Applicative.WITH_PURE with type 'a t := 'a t
include Preface_specs.Applicative.WITH_PURE with type 'a t := 'a t
include Preface_specs.Apply.WITH_MAP_AND_PRODUCT with type 'a t := 'a t
include Preface_specs.Functor.WITH_MAP with type 'a t := 'a t
include Preface_specs.Applicative.WITH_PURE with type 'a t := 'a t
val pure : 'a -> 'a tLift a value from 'a into a new 'a t.
Create a new 'a t, replacing all values in the 'b t by given a value of 'a.
Infix operators
module Infix : Preface_specs.Selective.INFIX with type 'a t = 'a tinclude Preface_specs.Apply.INFIX with type 'a t := 'a t
Flipped Applicative functor of ('a -> 'b) t over 'a t to 'b t.
Infix version of Preface_specs.Functor.CORE.map.
Flipped and infix version of Preface_specs.Functor.CORE.map.
Infix version of Preface_specs.Functor.OPERATION.replace.
Flipped and infix version of Preface_specs.Functor.OPERATION.replace.
val (<*?) : ('a, 'b) Preface_core.Shims.Either.t t -> ('a -> 'b) t -> 'b tInfix version of CORE.select.
Syntax
module Syntax : Preface_specs.Selective.SYNTAX with type 'a t = 'a t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page