Your English writing platform
Discover LudwigDictionary
syntactic sugar
noun
Additions to a that make easier for humans to read or write, but that do not change the functionality or expressiveness of the language.
Exact(13)
So what you can do, if you like, is introduced some syntactic sugar that's called collect.
In an interesting parallel with Java, ES6 adds to the language but does not deprecate anything – in fact, a lot of the features are actually syntactic sugar.
And this collect is just some syntactic sugar for automatically generating that nest of flatmaps and flatmaps.
Drawing an analogy with functional programming, we have the λ-calculus but we are missing the functional programming language: syntactic sugar, language constructs, data-structures, etc.
After the grammar generation phase, the Grammar Engineer can manipulate it to add syntactic sugar to improve the final language quality or even to add specific semantic actions.
And all this is is another way, a piece of syntactic sugar, a more convenient way for writing that chain of conses cons of cons of cons of cons of cons of cons onto nil.
Similar(47)
Our brains are syntactic engines.
Syntactic Structures.
This solves the "syntactic" problem.
Discovering syntactic hierarchies.
Expectation-based syntactic comprehension.
Write better and faster with AI suggestions while staying true to your unique style.
Since I tried Ludwig back in 2017, I have been constantly using it in both editing and translation. Ever since, I suggest it to my translators at ProSciEditing.

Justyna Jupowicz-Kozak
CEO of Professional Science Editing for Scientists @ prosciediting.com