Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Witchcraft IO monad? #121

Closed
Fl4m3Ph03n1x opened this issue Jul 1, 2022 · 1 comment
Closed

Witchcraft IO monad? #121

Fl4m3Ph03n1x opened this issue Jul 1, 2022 · 1 comment

Comments

@Fl4m3Ph03n1x
Copy link

Fl4m3Ph03n1x commented Jul 1, 2022

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:

  • I was not able to find a clear-cut example of the IO Monad. I have the idea what I have to create Monads myself using one of the sub-libraries, but I am not 100% sure of this.
  • I am not sure if Dialzyer plays nice with Witchcraft and if it can detect issues if my code is incorrect (like Scala compiler does).

Could someone help me answer these questions?

@github-actions
Copy link

github-actions bot commented Jul 1, 2022

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

@Fl4m3Ph03n1x Fl4m3Ph03n1x changed the title Witchcrfat IO monad? Witchcraft IO monad? Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant