KitchenSink v1.3.9 KitchenSink.Function View Source

this module is for higher order functions

Link to this section Summary

Functions

executes a value over a list of functions in reverse order (this is functional composition without macros)

returns the objects you give it. useful in Enum.flat_map, or Enum.filter

from clojure. takes in a list of functions, outputs a function that takes in a list of values, then applies the functions to each value. sorta like a super Enum.map

executes a value over a list of functions (this is functional composition without macros)

reverses the arguments of a function.

Link to this section Functions

executes a value over a list of functions in reverse order (this is functional composition without macros)

returns the objects you give it. useful in Enum.flat_map, or Enum.filter

from clojure. takes in a list of functions, outputs a function that takes in a list of values, then applies the functions to each value. sorta like a super Enum.map

executes a value over a list of functions (this is functional composition without macros)

reverses the arguments of a function.