compose: Function composure

Description Usage Arguments Value Author(s)

Description

Returns a function which is the composure of the functions provided. They are applied in the reverse order that they are supplied (to match traditional mathematical notation, g o f.

Oh god what have I created? It returns a function that is the composition of g with f.

Usage

1
2
3
  compose(...)

  g %c% f

Arguments

...

functions

g

applied second

f

applied first

Value

a function

Author(s)

Grady Weyenberg


grady/evol-mc documentation built on May 17, 2019, 8:01 a.m.