Re: ? 1={}, is there really any other interpretation?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete Lomax wrote:
> PS OK, the pop question may recurr at a later date "what does sq_eq()" do? But
> a core operator such as "=" should deliver one obvious answer and not, as some
> fools propose, vary between "if" and "assign" use, like "and" and "or" do,
> where
> this thread all started. (Keep the semantics clean.)

Hey, now! That's not nice! ;)

If you read the thread you can see that I've since amended my opinion on that.

As someone who has been in the community for several years (but really hasn't
written much of note) I've never needed to use compare() hence my unfamiliarity
with its basics.

So I still stick with the idea of switching equal() and compare() to compare
sequences with other things (either atoms or sequences of different lengths) and
leave =, !=, <, > to mean what they otherwise mean and return some kind of
singular truth value.

--
"Any programming problem can be solved by adding a level of indirection."
--anonymous
"Any performance problem can be solved by removing a level of indirection."
--M. Haertel
"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare
j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu