DEV Community

Discussion on: Do you consider learning Elm?

 
macsikora profile image
Pragmatic Maciej • Edited

I didn't say it is related only to IO. But for such it looks like one. I am not against do notation I am also not stating it's wrong, I am just saying it's not must to have and being only suger can be added to Elm in any moment.

Thread Thread
 
mateiadrielrafael profile image
Matei Adriel

How can sintactic sugar for monads be addable to elm when elm doesnt even support typeclasses?

Thread Thread
 
macsikora profile image
Pragmatic Maciej

That would be a problem. But we could be having some do notation for specific Monads, like async await is for continuations.

Thread Thread
 
mateiadrielrafael profile image
Matei Adriel

But then we would need something like computstional expressions to use user defined notations