A type-lifting function places an ordinary value into a monadic context, then applies a function within that context. For example, lift turns a plain value into Maybe.fromNullable(value).map(f), so missing values remain safely represented instead of requiring separate checks. section 5.3
Lifting a database result
const lift = R.curry((f, value) => Maybe.fromNullable(value).map(f)); This lets lift(console.log, value) handle either a present value or a missing value through the same Maybe pipeline. section 5.3
const lift = R.curry((f, value) => {
return Maybe.fromNullable(value).map(f);
});
Inspect the compact JavaScript definition of lift. section 5.3



