Parameters
E: BsBastet.Interface.TYPE
Signature
let make: M.t(Pervasives.result('a, 'b)) => t('a, 'b);
let runResultT: t('a, 'b) => M.t(Pervasives.result('a, 'b));
let withResultT: ('a => 'b) => t('c, 'a) => t('c, 'b);
let mapResultT: (M.t(Pervasives.result('a, 'b)) => M.t(Pervasives.result('c, 'b))) => t('a, 'b) => t('c, 'b);
let fromResult: Pervasives.result('a, 'b) => t('a, 'b);
let liftF: M.t('a) => t('a, 'b);
let subflatMap: ('a => Pervasives.result('b, 'c)) => t('a, 'c) => t('b, 'c);
let semiflatMap: ('a => M.t('b)) => t('a, 'c) => t('b, 'c);
let cond: ('a => bool) => 'a => 'b => t('a, 'b) => t('a, 'b);
let condError: ('a => bool) => 'b => t('a, 'b) => t('a, 'b);
module Functor: BsBastet.Interface.FUNCTOR with type Functor.t('a) = t('a, E.t);
let map: ('a => 'b) => Functor.t('a) => Functor.t('b);
module Bifunctor: BsBastet.Interface.BIFUNCTOR with type Bifunctor.t('a, 'e) = t('a, 'e);
let bimap: ('a => 'b) => ('c => 'd) => Bifunctor.t('a, 'c) => Bifunctor.t('b, 'd);
module Apply: BsBastet.Interface.APPLY with type Apply.t('a) = t('a, E.t);
let apply: Apply.t(('a => 'b)) => Apply.t('a) => Apply.t('b);
include { ... };
let applyFirst: Apply.t('a) => Apply.t('b) => Apply.t('a);
let applySecond: Apply.t('a) => Apply.t('b) => Apply.t('b);
let map2: ('a => 'b => 'c) => Apply.t('a) => Apply.t('b) => Apply.t('c);
let map3: ('a => 'b => 'c => 'd) => Apply.t('a) => Apply.t('b) => Apply.t('c) => Apply.t('d);
let map4: ('a => 'b => 'c => 'd => 'e) => Apply.t('a) => Apply.t('b) => Apply.t('c) => Apply.t('d) => Apply.t('e);
let map5: ('a => 'b => 'c => 'd => 'e => 'f) => Apply.t('a) => Apply.t('b) => Apply.t('c) => Apply.t('d) => Apply.t('e) => Apply.t('f);
let tuple2: Apply.t('a) => Apply.t('b) => Apply.t(('a, 'b));
let tuple3: Apply.t('a) => Apply.t('b) => Apply.t('c) => Apply.t(('a, 'b, 'c));
let tuple4: Apply.t('a) => Apply.t('b) => Apply.t('c) => Apply.t('d) => Apply.t(('a, 'b, 'c, 'd));
let tuple5: Apply.t('a) => Apply.t('b) => Apply.t('c) => Apply.t('d) => Apply.t('e) => Apply.t(('a, 'b, 'c, 'd, 'e));
let mapTuple2: ('a => 'b => 'c) => (Apply.t('a), Apply.t('b)) => Apply.t('c);
let mapTuple3: ('a => 'b => 'c => 'd) => (Apply.t('a), Apply.t('b), Apply.t('c)) => Apply.t('d);
let mapTuple4: ('a => 'b => 'c => 'd => 'e) => (Apply.t('a), Apply.t('b), Apply.t('c), Apply.t('d)) => Apply.t('e);
let mapTuple5: ('a => 'b => 'c => 'd => 'e => 'f) => (Apply.t('a), Apply.t('b), Apply.t('c), Apply.t('d), Apply.t('e)) => Apply.t('f);
module Applicative: BsBastet.Interface.APPLICATIVE with type Applicative.t('a) = t('a, E.t);
let pure: 'a => Applicative.t('a);
module Monad: BsBastet.Interface.MONAD with type Monad.t('a) = t('a, E.t);
let bind: Monad.t('a) => ('a => Monad.t('b)) => Monad.t('b);