5 ms·
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
by andrewflnr 13y ago
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?
- agumonkey 13y agoSubtext website, for the other curious http://www.subtext-lang.org/ http://www.subtext-lang.org/ .
- Ixiaus 13y agoI 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.
- andrewflnr 13y agoThey mention that they modified haskell to use explicitly named parameters. You can see that in the filter call but not the sum call.
- Peaker 13y agoOur 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.
- judk 13y agoI hope you expose the color coding as a config file, so folks with an eye for design can contribute.
- Peaker 13y agohttps://github.com/Peaker/lamdu/blob/master/config.json https://github.com/Peaker/lamdu/blob/master/config.json You can change it while Lamdu is running for immediate effect :-)