Options
All
  • Public
  • Public/Protected
  • All
Menu

Type class instances provided by default for Eval.

Hierarchy

  • EvalInstances

Implements

Index

Properties

followedBy

followedBy: function

Type declaration

    • Type parameters

      • A

      • B

      Parameters

      Returns Eval<B>

followedByL

followedByL: function

Type declaration

    • <A, B>(fa: EvalK<A>, fb: function): Eval<B>
    • Type parameters

      • A

      • B

      Parameters

      Returns Eval<B>

forEffect

forEffect: function

Type declaration

    • Type parameters

      • A

      • B

      Parameters

      Returns Eval<A>

forEffectL

forEffectL: function

Type declaration

    • <A, B>(fa: EvalK<A>, fb: function): Eval<A>
    • Type parameters

      • A

      • B

      Parameters

      Returns Eval<A>

map2

map2: function

Type declaration

    • <A, B, Z>(fa: EvalK<A>, fb: EvalK<B>, f: function): Eval<Z>
    • Type parameters

      • A

      • B

      • Z

      Parameters

      • fa: EvalK<A>
      • fb: EvalK<B>
      • f: function
          • (a: A, b: B): Z
          • Parameters

            • a: A
            • b: B

            Returns Z

      Returns Eval<Z>

product

product: function

Type declaration

Static global

global: EvalInstances = new EvalInstances()

Methods

ap

  • ap<A, B>(fa: EvalK<A>, ff: EvalK<function>): Eval<B>

coflatMap

  • coflatMap<A, B>(fa: EvalK<A>, ff: function): Eval<B>

coflatten

  • coflatten<A>(fa: EvalK<A>): Eval<Eval<A>>

extract

  • extract<A>(fa: EvalK<A>): A

flatMap

  • flatMap<A, B>(fa: EvalK<A>, f: function): Eval<B>

map

  • map<A, B>(fa: EvalK<A>, f: function): Eval<B>
  • Type parameters

    • A

    • B

    Parameters

    • fa: EvalK<A>
    • f: function
        • (a: A): B
        • Parameters

          • a: A

          Returns B

    Returns Eval<B>

pure

  • pure<A>(a: A): Eval<A>

tailRecM

  • tailRecM<A, B>(a: A, f: function): Eval<B>
  • Type parameters

    • A

    • B

    Parameters

    • a: A
    • f: function
        • (a: A): EvalK<Either<A, B>>
        • Parameters

          • a: A

          Returns EvalK<Either<A, B>>

    Returns Eval<B>

unit

  • unit(): Eval<void>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc