Join Slack
Powered by
forEach{ (var) -> {} } throws an error that is ...
# random
c
codeslubber
04/04/2017, 10:53 PM
forEach{ (var) -> {} } throws an error that is maybe not super helpful.. removing the parens around the var fixes it.. also the docs don’t mention named params, except to say that you can use an underscore to skip them, like Swift...
Open in Slack
Previous
Next