Re:Ask HN: What programming language has you really excited ...
by msdos on Thursday June 16, 2016 @11:12PM
(#11920492)
It'd be less cluttered if "in" wasn't in there.
Re:Ask HN: What programming language has you really excited ...
by MichaelBurge on Sunday June 19, 2016 @05:32AM
(#11932377)
The shortest is Haskell's:
forM_ party jumpToTheLeft
Assuming there is a 'party :: [ Minion ]' and 'jumpToTheLeft :: Minion -> IO Minion' in scope.
> Just little things like not having 'for (var minion in party)'. It clears the clutter.
Would be even less cluttered if it allowed
Parens around a for clause when there's braces following are unnecessary.