typelift / Swiftx

Functional data types and functions for any project
BSD 3-Clause "New" or "Revised" License
219 stars 28 forks source link

cleaner `Either.fold` syntax #6

Closed pthariensflame closed 9 years ago

pthariensflame commented 9 years ago

I forgot this bit with the previous pull request. :P

CodaFi commented 9 years ago

If we're keeping the parameter names around, I'd rather see the full onLeft/onRight. Also, spaces between type and colons and you know the drill :)

pthariensflame commented 9 years ago

That's all fine by me; the problem was the presence of one parameter name but not the other. :P

CodaFi commented 9 years ago

:boat: