Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 629 Bytes

ChainRec.md

File metadata and controls

30 lines (20 loc) · 629 Bytes
id title
ChainRec
Module ChainRec

← Index

Source

ChainRec

Signature (type class) Source

export interface ChainRec<F> extends Chain<F> {
  readonly chainRec: <A, B>(a: A, f: (a: A) => HKT<F, Either<A, B>>) => HKT<F, B>
}

Added in v1.0.0

tailRec

Signature (function) Source

export const tailRec = <A, B>(f: (a: A) => Either<A, B>, a: A): B => { ... }

Added in v1.0.0