Daily Note - 2025-03-23
Hey, I'm Hanno! These are my daily notes on Crosscut, the programming language I'm creating. If you have any questions, comments, or feedback, please get in touch!
Most functional languages seem to use monads for error handling (and other things). I think my approach centered around automatic lifting is just another formulation of that.
There would be a way to turn a value of type A
into a variant { A, ... }
.
That's basically the monadic return
operation. And then bind
is that thing
that the compiler automatically does as part of the lifting.
So I guess if my idea doesn't work out, doing it the normal way could be a sensible fallback plan.
Hey, you! Want to subscribe to my daily notes? Just let me know (maybe include a nice message, if you're up for it), and I'll send you an email every time I post a new one.