Name

compose

Usage

builtin-function

Syntax

(compose func1 &rest funcs)

Description

Creates a new function that applies the given functions from the right to the left.

user > (let f (compose dec .length))
it: f
user > (f "hello")
it: 4