Re: [stack] impure concatenativity: let without translation

"Joe Bowbeer" <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
On Wed, Mar 19, 2008 at 1:58 AM, John Nowak wrote:

> Just moments ago, I gave this example of the quadratic formula:
>
>   (define (quad a b c)
>     (let ((d b 4 a c * * -)
>           (r d 0 >= [d sqrt] ["quad: sqrt of negative" error] if)
>           (x 2 a *)
>           (p b r - x /)
>           (n b r + x /))
>       p n))
>
>

Is quad invoked postfix or prefix?

The (quad a b c) syntax for declaration in scheme is especially nice because
it looks like the expression that's used to invoke the function.

I'm confused by the mixture of prefix and postfix in your example.
Actually, I'm confused by all postfix, but I'd prefer to have consistency
with my confusion:)

--Joe


[Non-text portions of this message have been removed]
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.