ApplicativeNanoRead<T> extension

An extension of NanoRead that makes NanoRead act as an applicative functor, i.e. the method liftA2 can be called with a callback, which returns a new NanoRead instance containing the values returned by the given callback, updated as the original NanoRead instances updates.

on

Methods

liftA2<S, U>(U lifter(T, S), NanoRead<S> other) NanoRead<U>
Lifts this NanoRead with the given callback lifter and another NanoRead and returns a new NanoRead instance as a result.