Function24
Constructors
Models
Combinators
applyconstApplies a function to a given value.composeconstComposes two functions, ab and bc into a single function that takes in an argument a of type A and returns a result of type C.dualconstCreates a function that can be called in data-first style or data-last (pipe-friendly) style.flipconstReverses the order of arguments for a curried function.flowfunctionPerforms left-to-right function composition.identityconstReturns its input argument unchanged.pipefunctionPipes the value of an expression through a left-to-right sequence of functions.SKconstReturns the second argument and discards the first.tupledconstCreates a tupled version of this function: instead of n arguments, it accepts a single tuple argument.untupledconstConverts a tupled function back to an uncurried function.Caching
Constants
Type Lambdas
Utility Types
absurdconstMarks an impossible branch by accepting a never value and returning any type.castconstReturns the input value with a different static type.holeconstCreates a compile-time placeholder for a value of any type.satisfiesconstEnsures that the type of an expression matches some type, without changing the resulting type of that expression.