lexi-lambda / freer-simple

A friendly effect system for Haskell
https://hackage.haskell.org/package/freer-simple
BSD 3-Clause "New" or "Revised" License
228 stars 20 forks source link

Example of using Console #23

Open jml opened 5 years ago

jml commented 5 years ago

Further to #22, I think the README code example would be much more informative if it had an example of using Console somehow, and then two examples of this being interpreted: one with IO and the other pure.

As it is, it's kind of tricky to piece things together.

Thanks!