Zanzi Tangle
zanzi.bsky.social
Zanzi Tangle
@zanzi.bsky.social
I research programming languages and turn Category Theory into code
Did you write down this recipe anywhere?
November 6, 2025 at 5:44 PM
Oh, guess I was too busy touching grass to notice.
November 6, 2025 at 12:26 AM
Not enough people are talking about this
November 5, 2025 at 11:43 PM
But what IS the right order of solving them?
November 5, 2025 at 11:38 PM
November 5, 2025 at 10:34 PM
Hmmm, I agree that bidirectional systems make precise where to put the unification constraints, but are unification constraints the only kind of constraint that's needed? What about ie generalisation/instantiation constraints for type schemes?
November 5, 2025 at 10:01 PM
Eh, this is nowhere near as cool as alpha fold. the article is just hype and overinflation of capabilities.
July 18, 2025 at 12:11 AM
(fun fact: this system is unable to express the *strict* (tensor) product, the same way that the lambda calculus has no way to express 'par'
June 28, 2025 at 6:54 PM
In CBPV terminology, Times is the 'lazy product', aka 'With' from linear logic
June 28, 2025 at 6:54 PM
And, of course, the language in that paper subsumes both lambda and co-lambda calculus.
June 28, 2025 at 6:51 PM
This system flips natural deduction inside out.

So it has left-introduction and left-elimination.

And just as natural deduction limits judgements to have one output, this limits them to have one input (but a whole context of possible outputs).
June 28, 2025 at 6:50 PM
Oh yes, very much so!

So the sequent calculus is all about introduction rules, you have left-introduction and right-introduction.

Meanwhile, natural deduction is all about working on the right-hand-side of the turnstile: you have right-intro like with sequents, but also right-*elimination*.
June 28, 2025 at 6:50 PM
This system is *alien*. The rules don't do justice to how bizzaro-world it feels to reason with this
June 28, 2025 at 3:05 PM
Ok I am *very* impressed :D
June 18, 2025 at 5:10 PM
Cool! I'm definitely a fan of parser combinators, and the TS-macros project looks 🤯
June 18, 2025 at 4:48 PM
Reposted by Zanzi Tangle
this is sort of what i'm thinking for functions, for example. still fixing the inference for return types but once i'm done with this, i'll have a really expressive and type-safe way to do macros for TS!
June 18, 2025 at 12:16 PM
Oh yes? :D Tell me more! Do you have anything written that I can look at!
June 18, 2025 at 3:39 PM
I'm currently working on a project in this space that could spark your interest, but it's not public yet. I could give you a ping in a few weeks though with more details if you're interested >:D
June 18, 2025 at 2:58 PM