[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jul 19 08:41:57 1993 
Subject:Re: quickie test 
From:jonr (Jonathan Rowe) 
Volume-ID:930719.02 


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