Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A true HN Christmas present. If nothing else it reminded me to take time to watch the Subtext videos. :)

I noticed that the (single) argument to sum in most of the screenshots doesn't have a name? Is that special-cased in the language or the editor, or am missing something bigger?



I might be interpreting your question wrong but that is specific to Haskell (which he uses as the foundation of lambdu). It looks like sum is being composed with filter which is given the iterable and a predicate.


They mention that they modified haskell to use explicitly named parameters. You can see that in the filter call but not the sum call.


Our current thought is that single-parameter functions do not need an argument name.

We might change a lot of our decisions later as we tune it for working with more realistic code.


I hope you expose the color coding as a config file, so folks with an eye for design can contribute.


https://github.com/Peaker/lamdu/blob/master/config.json

You can change it while Lamdu is running for immediate effect :-)


Subtext website, for the other curious http://www.subtext-lang.org/ .




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: