arrow-core-data / arrow.core / AndThenOf

AndThenOf

typealias ~~AndThenOf~~<A, B> = Kind2<ForAndThen, A, B> Deprecated: Higher Kinded types and their related type classes will no longer be supported after Arrow 0.13.0. Most relevant APIs are now concrete over the data types available as members or top level extension functions

Inheritors

AndThen AndThen wraps a function of shape (A) -> B and can be used to do function composition. It’s similar to arrow.core.andThen and arrow.core.compose and can be used to build stack safe data structures that make use of lambdas. Usage is typically used for signature such as A -> Kind<F, A> where F has a arrow.typeclasses.Monad instance i.e. StateT.flatMap.sealed class ~~AndThen~~<A, B> : (A) -> B, AndThenOf<A, B>

Do you like Arrow?

Arrow Org
<