Subject: Re: combination of applications
From: rpw3@rpw3.org (Rob Warnock)
Date: Sun, 13 Jun 2004 20:02:13 -0500
Newsgroups: comp.lang.lisp
Message-ID: <fcidnROznq2IZFHd4p2dnA@speakeasy.net>
Stefan Ram <ram@zedat.fu-berlin.de> wrote:
+---------------
|   Are there means in Lisp with the same effect, possibly
|   something like the following?
| ( combine f g h x )
+---------------

Do a Web search for the terms COMPOSE and/or CURRY. Note that if
any of the functions but the last one take more than one argument,
you will need to CURRY that function with N-1 arguments before
COMPOSE'ing it.

For non-associative functions, you sometimes need CURRY-RIGHT and
CURRY-LEFT variations, as well as pattern-matching versions which
result in a mixture of right- and left-currying.


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607