[Haskell-cafe] Re: Wikipedia on first-class object

Jonathan Cast jonathanccast at fastmail.fm
Fri Dec 28 19:03:32 EST 2007


On 28 Dec 2007, at 4:20 AM, Cristian Baboi wrote:

> Thank you.
>
> This is what I understand so far:
>
> - the maximal values is what is usually called data

Incorrect.  Total functions are maximal.

> - the non maximal are what is usually   called code

Incorrect.  `Non maximal' expressions are just expressions with  
embedded infinite loops or exceptions (or functions that yield such  
values when presented with defined arguments).

> - in functional languages one can be given non maximal values  
> (code) as input

Correct (sort of, se above).  But not in the way you think.  And only  
in non-strict functional languages.

jcc



More information about the Haskell-Cafe mailing list