Re:What's bad about Julia?
by klaff on Monday July 26, 2021 @05:25PM
(#27965695)
Why did you write all those anonymous functions? You can just do
although there are style guides that discourage that and instead recommend using a line for each with good temp variable names.
[ Parent
| on HN ]
ah, in this case that works. although it doesn't if you have additional arguments to b,c,d and e. I guess I should have crafted my example better.
Re:What's bad about Julia?
by BadInformatics on Monday July 26, 2021 @07:13PM
(#27966653)
https://github.com/jkrumbiegel/Chain.jl would probably work there, but you're not the only one who would like to see this in the language/stdlib itself.