Re: [stack] Re: Concatenative Hardware

Don Groves <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
On Nov 4, 2007, at 19:13 , Christopher Diggins wrote:

>>> QTE creates a thunk (a nullary function) from a value. The value is
>>> popped from the stack and replaced with a function that always  
>>> returns
>>> the value.
>>
>> Enlightenment time...
>>
>> I understand the form of this construct but not its essential nature.
>> How does it differ from, and in what way is it more useful than, a
>> constant?
>
> It allows you to create functions dynamically out of thin air. This is
> useful when performing computations with higher-order functions.

Ah, since higher-order functions only operate on functions... Thanks!
--
Don


>
> - Christopher
>
>
>
> Yahoo! Groups Links
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.