Newsgroups: comp.lang.clarion,comp.lang.clipper,comp.lang.clos,comp.lang.clu,comp.lang.cobol,comp.lang.dylan,comp.lang.eiffel,comp.lang.forth,comp.lang.forth.mac,comp.lang.fortran,comp.lang.functional,comp.lang.hermes
Path: cantaloupe.srv.cs.cmu.edu!rochester!cornellcs!newsstand.cit.cornell.edu!newstand.syr.edu!news.maxwell.syr.edu!mr.net!www.nntp.primenet.com!nntp.primenet.com!newspump.sol.net!spool.mu.edu!torn!news!news
From: Lu Junlei <lu6@uwindsor.ca>
Subject: Advanture of Functional
X-Nntp-Posting-Host: csgate.lamf.uwindsor.ca
Content-Type: text/plain; charset=us-ascii
Message-ID: <32A6342E.71CF@uwindsor.ca>
Sender: news@news.uwindsor.ca (Usenet)
Content-Transfer-Encoding: 7bit
Organization: University of Windsor, Ontario, Canada
References: <329E0470.31E0@ix.netcom.com> <01bbdd81$7a3c1c20$3c8bccc2@adam>
Mime-Version: 1.0
Date: Thu, 5 Dec 1996 02:32:14 GMT
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.4 sun4d)
Lines: 16
Xref: glinda.oz.cs.cmu.edu comp.lang.clarion:12560 comp.lang.clipper:25989 comp.lang.clos:4065 comp.lang.clu:338 comp.lang.cobol:14683 comp.lang.dylan:7636 comp.lang.eiffel:16567 comp.lang.forth:31764 comp.lang.forth.mac:1391 comp.lang.fortran:45644 comp.lang.functional:8049 comp.lang.hermes:361

Hi, I have some readly difficult question about functional language. It
might be a challenge for everybody. Anybody want to try ? Thanks ?


(a) What would happen if a pure functional language were extended with
global (program-wide) variables ?

(b) What if the program could update these variables but not read them,
nor base any decisions on them ?

(c) A higher-order function can take other functions as arguments. In
Ada, it is possible to write a generic functions that takes another
function as generic argument.

(d) What is the main difference between such generic functions and true
higher-order functions ?
