Constructs an applicative containing the given value.
This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.
Constructs an applicative containing the given value.
Constructs an applicative containing the given value.
Constructs an applicative containing the given value.
(applicative, value) =>
isNew(applicative) ? applicative[flOf](value)
: isCtorNew(applicative) ? applicative.constructor[flOf](value)
: isOld(applicative) ? warn(applicative.of(value))
: isCtorOld(applicative) ? warn(applicative.constructor.of(value))
: /*otherwise*/ unsupported(applicative)