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

This is basically what my effect system, Bluefin, achieves with its Stream type. "Stream" is an "output channel" that by itself is completely pure. Then, at the point of handling, you can choose to remove the effect in a pure way, by interpreting it in a way that doesn't use any effects, or by using IO, from which you then cannot escape.

https://hackage-content.haskell.org/package/bluefin-0.0.17.1...



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

Search: