I have been suggesting:
> I would like the answer to the question to be:
>
> : [a], [% hd() %] =>
> ** [a]
>
> : [a], {% hd() %} =>
> ** {a}
>
> Jon Rowe
Aaron responds:
I'd have thought that in any clean stack-based language admitting such
constructs, *both* of them should yield an error .
echoing a number of previous comments.
I'd like to know what is gained by making these yield errors, apart from a
sense of cleanliness? Does the "clean" stack treatment buy you anything? Since
it is a restriction, I assume it would prevent you doing things that are very
nasty. What?
My suggestion buys me the ability to write code like in my previous examples.
Can anyone come up with an example where the behaviour I want will lead to big
trouble?
Jon Rowe
|