Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Lisp > Re: Questions -...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 19 of 27 Topic 12389 of 13603
Post > Topic >>

Re: Questions - Higer Order Functions

by tar@[EMAIL PROTECTED] (Thomas A. Russ) Apr 30, 2008 at 09:44 AM

"rigaha@[EMAIL PROTECTED]
" <rigaha@[EMAIL PROTECTED]
> writes:

> 2. In practice, are functions that return functions used frequently?

Well, this one of course depends on what you are doing.  Some
applications find it very helpful to write functions that return other
functions.  Loom <http://www.isi.edu/isd/LOOM/>
make great use of this
in order to very efficiently compute what were in effect queries by
constructing a program that executed an optimized search over its
knowledge base.  In the case of certain defined concepts and relations,
those queries were compiled and stored as compiled functions for future
use.

This also allowed for easy implmentation of a general query facility as
a macro, since a macro can be seen as embodying a function that returns
a function.

-- 
Thomas A. Russ,  USC/Information Sciences Institute
 




 27 Posts in Topic:
Questions - Higer Order Functions
"rigaha@[EMAIL PROTE  2008-04-29 22:19:46 
Re: Questions - Higer Order Functions
Rainer Joswig <joswig@  2008-04-30 08:54:57 
Re: Questions - Higer Order Functions
Kent M Pitman <pitman@  2008-04-30 05:02:24 
Re: Questions - Higer Order Functions
Slobodan Blazeski <slo  2008-04-30 02:16:42 
Re: Questions - Higer Order Functions
Didier Verna <didier@[  2008-04-30 11:26:22 
Re: Questions - Higer Order Functions
Kent M Pitman <pitman@  2008-04-30 10:06:16 
Re: Questions - Higer Order Functions
tar@[EMAIL PROTECTED] (T  2008-04-30 09:39:33 
Re: Questions - Higer Order Functions
"Steven M. Haflich&q  2008-05-01 18:55:35 
Re: Questions - Higer Order Functions
pjb@[EMAIL PROTECTED] (P  2008-05-02 16:34:18 
Re: Questions - Higer Order Functions
Duane Rettig <duane@[E  2008-04-30 07:40:33 
Re: Questions - Higer Order Functions
lisp2.3.CalRobert@[EMAIL   2008-05-04 00:28:08 
Re: Questions - Higer Order Functions
rpw3@[EMAIL PROTECTED] (  2008-05-07 07:44:58 
Re: Questions - Higer Order Functions
tar@[EMAIL PROTECTED] (T  2008-05-07 09:15:55 
Re: Questions - Higer Order Functions
Slobodan Blazeski <slo  2008-04-30 03:23:40 
Re: Questions - Higer Order Functions
Ken Tilton <kennytilto  2008-04-30 06:43:54 
Re: Questions - Higer Order Functions
Didier Verna <didier@[  2008-04-30 18:28:56 
Re: Questions - Higer Order Functions
tar@[EMAIL PROTECTED] (T  2008-04-30 14:19:53 
Re: Questions - Higer Order Functions
Harald Hanche-Olsen <h  2008-04-30 18:58:21 
Re: Questions - Higer Order Functions
tar@[EMAIL PROTECTED] (T  2008-04-30 09:44:03 
Re: Questions - Higer Order Functions
Paul Donnelly <paul-do  2008-04-30 17:01:46 
Is there any operator that could raise or lower order of functio
Slobodan Blazeski <slo  2008-05-02 00:05:28 
Re: Is there any operator that could raise or lower order of fun
lisp2.3.CalRobert@[EMAIL   2008-05-04 01:29:18 
Re: Is there any operator that could raise or lower order of fun
Kaz Kylheku <kkylheku@  2008-05-02 00:24:45 
Re: Is there any operator that could raise or lower order of fun
lisp2.3.CalRobert@[EMAIL   2008-05-04 01:47:05 
Re: Is there any operator that could raise or lower order of fun
Slobodan Blazeski <slo  2008-05-02 02:49:47 
Re: Is there any operator that could raise or lower order of fun
Chris Russell <christo  2008-05-02 03:22:23 
Re: Is there any operator that could raise or lower order of fun
rossberg@[EMAIL PROTECTED  2008-05-02 09:14:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 2:05:51 CDT 2008.