by vorg · 10y ago · 0 comments
> Just little things like not having 'for (var minion in party)'. It clears the clutter.
Would be even less cluttered if it allowed
for minion in party {
minion.jumpToTheLeft()
}
Parens around a for clause when there's braces following are unnecessary. forM_ party jumpToTheLeft
Assuming there is a 'party :: [ Minion ]' and 'jumpToTheLeft :: Minion -> IO Minion' in scope.