pure<A> static method

Decoder<A> pure<A>(
  1. A value
)

Implementation

static Decoder<A> pure<A>(A value) => Decoder._unkeyed((_) => right(value));