Hacker Newsnew | comments | ask | jobs | submitlogin
aston 1588 days ago | link | parent

Automatic creation of the numerical lambda return. Clever...

Why "atom" instead of "leaf"? Especially since you acknowledge it's a "tree"?



pg 1587 days ago | link

It's even simpler than that. I changed function application so that if the first element of the expression is a simple type (e.g. a number), it just gets returned.

-----

aston 1587 days ago | link

That's cool enough. Though, potential spot for allowing subtle bugs? If I'm tossing around what I believe is a function (but instead happens to be a simple type, maybe even like #f or something), when I apply it I'd prefer to get a runtime error instead of a silent value return.

-----

pg 1586 days ago | link

Having a more dense language inevitably means that more programs turn out to be accidentally meaningful. If the power of a programming language is the inverse of how long programs are (which is the best definition I've found so far), you can't make a language more powerful without the space of meaningful programs becoming denser.

-----

pg 1586 days ago | link

Having a more dense language inevitably means that more programs turn out to be accidentally meaningful. Since Arc is designed to be an LFSP, that trade-off is worth it.

-----




Lists | RSS | Bookmarklet | Guidelines | FAQ | News News | Feature Requests | Y Combinator | Apply | Library

Search: