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

As Erik Meijer said, there are many ways to be dirty, but only one way to be pure.

Haskell allows you to annotate classes of side effects such as "changes state" or "might throw exception", not necessarily the full IO monad, so annotating as pure doesn't make sense.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: