Re: [stack] Re: Concatenative Hardware

"Christopher Diggins" <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
> > 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.

- Christopher
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.