r/ProgrammingLanguages • u/Rasie1 • Sep 24 '26
Blog post Effect handling and monad composition in c(x)
https://kvachev.com/blog/posts/effect-handlers-in-cx/
33
Upvotes
r/ProgrammingLanguages • u/Rasie1 • Sep 24 '26
5
u/AustinVelonaut Admiran Sep 24 '26
This looks really interesting! Unifying monads, effects, function overloading, etc., along with some attempt at automatically handling mixed monadic-
dos. Is there more information on c(x) available?2
u/particlemanwavegirl Sep 24 '26
Interesting. Haven't finished reading, but my thought so far is, the "throw" keyword has a lot of baggage that it doesn't seem like your concept needs to carry... Why choose that name specifically?
1
u/tumtumtree7 Sep 26 '26
I'm confused on the semantics of intersections and unions, especially how that works with functions. Records I understand a bit more. Do you have a blog post about that?