vilem@buggymcbugfix·Jul 13, 2021I find Haskell's syntax for lambda ugly af, but it seems I'm the only one??16122
Daniel @starsandspirals·Jul 13, 2021I wouldn't say I like it but I would say that pretty much every other syntax for lambda that I've seen looks worse 😅 except for the unicode λ in Granule, of course 😉17
Brendan Zabarauskas@brendanzab·Jul 13, 2021You could go the Java or JS route, but that way leads to terrifying 'covering grammars' https://262.ecma-international.org/7.0/#prod-CoverParenthesizedExpressionAndArrowParameterList…14
Brendan Zabarauskas@brendanzab·Jul 13, 2021Java style, woooo https://docs.oracle.com/javase/specs/jls/se8/html/jls-15.html#jls-15.27…13
Brendan Zabarauskas@brendanzabReplying to @brendanzab @buggymcbugfix and @starsandspiralsOr were you thinking of the parens being mandatory?11:15 AM · Jul 13, 2021·Twitter Web App1 Quote Tweet1 Like
vilem@buggymcbugfix·Jul 13, 2021although this is probably a terrible terrible syntax anyway considering we may want to eventually use lambda at the type level1