Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's extremely generous... hell it's just wrong.. to call Go's NullString/NullBool/etc monads. "Monad" is not a synonym for "Wrapper type"


Well, they do correspond to the "Maybe a" for some fixed type a, and Maybe is a monad, however you are right that it would be clearer to to say Maybe or Nullable or Option type, since that's what is meant, not some general monad.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: