Hacker News new | ask | show | jobs
by platinumrad 1849 days ago
Well it's not like Go has do notation so I don't know what you're expecting here.
1 comments

I’m pointing out that functional programming goes beyond trivial things like compose3 and list operations (useful though they can be).
Sure, but e.g. monadic futures aren't going to be very usable in a language without do notation, custom operators, or non-verbose lambdas. Might as well just use channels. As for nullability and error handling, writing "if" over and over again might be bad, but in Go I don't think functional approaches are going to be any better. Maybe liftA2, etc. on pointers would be usable, but not much else.