Fwd: Re: [Haskell-cafe] Functions are first class values in C

Cristian Baboi cristian.baboi at gmail.com
Sat Dec 22 10:22:36 EST 2007


On Sat, 22 Dec 2007 17:18:18 +0200, Philippa Cowderoy <flippa at flippac.org>  
wrote:

>> The thing is I think that for a language to have "first-class"  
>> functions,
>> it must be "homoiconic" if I understand the terms correctly.

> You're confusing functions with the terms that are used to define them.

> The terms aren't first-class, the functions are. This is intentional: the
> only way you can tell functions apart is if they give you different
> results for the same parameter. Otherwise, what you have isn't a function
> but a combination of a function and some extra structure.

I also confuse numbers with the terms that are used to define them (like  
1.2)

I guess I have to study more about this.


More information about the Haskell-Cafe mailing list