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

The reader monad doesn't need to be global.

But yeah, by that standard, Haskell implements both dynamic scoping and mutable state via getters and setters. (Though, of course, you can go all out on these via lenses.)



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

Search: