Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Effect<A>

Type parameters

  • A

Hierarchy

Index

Constructors

  • Type parameters

    • A

    Returns Effect<A>

Properties

_open: () => unknown

Type declaration

    • (): unknown
    • Returns unknown

bind: <B>(f: (a: A) => Effect<B>) => Effect<B>

Type declaration

fmap: <B>(f: (a: A) => B) => Effect<B>

Type declaration

    • <B>(f: (a: A) => B): Effect<B>
    • Type parameters

      • B

      Parameters

      • f: (a: A) => B
          • (a: A): B
          • Parameters

            • a: A

            Returns B

      Returns Effect<B>

isValide: () => boolean

Type declaration

    • (): boolean
    • Returns boolean

bind: <A, B>(f: (a: A) => Effect<B>, a: Effect<A>) => Effect<B>

Type declaration

fmap: <A, B>(f: (a: A) => B, a: Effect<A>) => Effect<B>

Type declaration

    • Type parameters

      • A

      • B

      Parameters

      • f: (a: A) => B
          • (a: A): B
          • Parameters

            • a: A

            Returns B

      • a: Effect<A>

      Returns Effect<B>

from: <A>(a: A) => Effect<A>

Type declaration

    • Type parameters

      • A

      Parameters

      • a: A

      Returns Effect<A>

lift: <A, B>(f: (a: A) => B) => (a: Effect<A>) => Effect<B>

Type declaration

Methods

Generated using TypeDoc