News for hackers. Stuff that matters.
Re:Making the move from Scala to Go by dllthomas on Monday January 30, 2017 @12:28AM (#13518915)
> The above function enforces that getting a user can fail and you must contact the outside world to get a user.

That seems sort of backwards. It enforces that the caller be able to handle failure (and similar for IO). It may well be that "getting a user" doesn't do either (e.g. `pure (pure defaultUser)`)

There are no comments on this comment yet.