witchcrafters / witchcraft

Monads and other dark magic for Elixir
https://witchcrafters.github.io
MIT License
1.2k stars 58 forks source link

Witchcraft IO monad? #121

Closed Fl4m3Ph03n1x closed 2 years ago

Fl4m3Ph03n1x commented 2 years ago

I apologize if this is not the correct forum to make these questions. If not, please let me know the appropriate place and feel free to cancel this issue.


Background

I have recently been delving into more functional code. My objective right now is to get something similar to the IO Monad (in Haskell, Scala, etc) but in Elixir.

To this extent, I understand Witchcraft should be in theory capable of doing it.

Doubts

However, after reading through their documentation I have some questions:

Could someone help me answer these questions?

github-actions[bot] commented 2 years ago

Thank you for submitting an issue! It means a lot that you took the time -- it helps us be better 🙏