jan tolenaar / kiezellisp / index-of-everything

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.

make-html > (let f (compose dec .length))
it: f
make-html > (f "hello")
it: 4