comp.lang.ada
 help / color / mirror / Atom feed
From: winikoff@mundook.cs.mu.OZ.AU (Michael David WINIKOFF)
Subject: Re: Advanture of Functional
Date: 1996/12/05
Date: 1996-12-05T00:00:00+00:00	[thread overview]
Message-ID: <585rpo$kqg@mulga.cs.mu.OZ.AU> (raw)
In-Reply-To: 32A6342E.71CF@uwindsor.ca


Lu Junlei <lu6@uwindsor.ca> writes:

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

Can I add a couple of questions ...

What would happen if you had a go at doing the questions yourself rather than
	posting to the net?

What would happen if people posted only to *relevant* newsgroups?
(in this case comp.lang.functional and possibly comp.lang.ada)

Michael
PS. If you can convince me this is not homework I'll appologise and have a go
	at answering the questions, otherwise do your own work!


>(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 ?
-- 
Michael Winikoff	winikoff@acm.org	http://www.cs.mu.oz.au/~winikoff
Computer science postgrad. University of Melbourne, Australia. 	
"Computer Science is no more about computers than astronomy is about 
		telescopes." -- E. W. Dijkstra




           reply	other threads:[~1996-12-05  0:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <32A6342E.71CF@uwindsor.ca>]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox