Zanzi Tangle
@zanzi.bsky.social
📤 1107
📥 172
📝 485
I research programming languages and turn Category Theory into code
I have once again realized that I don't fully understand the semantics of System L.
2 months ago
0
4
0
what's the deal with type schemes? they seem like a hack, but I'm not sure what the canonical replacement is
2 months ago
0
2
0
Who is doing the most exciting work at the intersection of PL and LLMs right now?
3 months ago
1
7
1
Finally figured out the right way to formulate the co-lambda calculus, a language of co-data and higher-order continuations
4 months ago
3
20
5
reposted by
Zanzi Tangle
sai
4 months ago
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!
2
6
3
reposted by
Zanzi Tangle
Flavio 🏴☠️
4 months ago
Hey, I wrote a post in my blog comparing Elm and
@svelte.dev
, I hope you enjoy it!
flaviocorpa.com/building-a-n...
loading . . .
Building a non-trivial app with Elm and with Svelte
A blogpost comparing the latest cutting edge frontend framework (Svelte), with the older but functionally pure Elm programming language
https://flaviocorpa.com/building-a-non-trivial-app-with-elm-and-with-svelte.html
3
17
8
does anyone know of any frontend/typescript devs with a side interest in PL/CT?
4 months ago
2
6
0
you may not like it but this is what peak operational semantics looks like
4 months ago
1
22
2
reposted by
Zanzi Tangle
Tom Gauld
4 months ago
My cartoon for this week’s
@newscientist.com
37
3983
716
Is there a logical interpretation of kan extensions?
4 months ago
1
7
0
reposted by
Zanzi Tangle
Erin Westgate
6 months ago
I had the same thought....we found people CLAIMED their opposition to policies that support trans people was "protecting women" from male violence. What really predicted their policy positions? Their dislike of trans people.
add a skeleton here at some point
1
16
5
6 months ago
0
24
6
6 months ago
1
8
1
biology is immutable
6 months ago
0
10
1
Years of tolerating the 'just asking questions' crowd and all we have to show for it is a comeback of fascism
6 months ago
0
7
0
In the polymorphic lambda calculus, we can encode least and greatest type-level fixpoints using quantifiers Is there an analogous construction for term-level fixpoints?
7 months ago
2
4
0
Does anyone here know contextual operational semantics? I'm trying to implement a calculus that's based on linear proof nets, but they use contextual semantics in a cruicial way, and I just can't get my head around it
7 months ago
1
1
0
i fought this guy in dark souls
7 months ago
0
6
0
If you're wondering what compiler infrastructure would look like in dependent types, check out this blog post. We use this library for the development of our language Jermaine at Glaive
cybercat.institute/2025/03/13/c...
loading . . .
Pipelines Part 2: Categorical Pipelines
Programming large complex software requires the right abstractions to make the work as easy as possible. Pipelines help writing programs by leveraging dependent types, but we can do better. By abstrac...
https://cybercat.institute/2025/03/13/categorical-pipelines/
7 months ago
0
4
2
Is there ever a use-case for needing untagged unions rather than sum types?
7 months ago
2
3
0
Very excited to present my take on bidirectional typing at MSP this Monday coming! We can use polarity and chirality (duality between producers and consumers) to develop a canonical bidirectional typing discipline that requires minimal annotations.
msp.cis.strath.ac.uk/msp101.html
7 months ago
1
11
2
is there a reference for combining bidirectional type-checking with unification? ie the bidi system infers most of the types, while the unification only fills in the type-annotations?
8 months ago
2
4
0
reposted by
Zanzi Tangle
Conorrhoea
8 months ago
Transactions in Category Theory 2025
jademaster.xyz/TACT25.html
It's going to be a thing.
loading . . .
Transactions in Category Theory 2025
https://jademaster.xyz/TACT25.html
1
17
8
reposted by
Zanzi Tangle
Bruno Gavranović
8 months ago
Discovered a gem of a paper, which merges two things I am very excited about: DeepRL + (dependently) type-directed program search. Highly recommended read.
https://arxiv.org/abs/2407.00695
0
9
3
yeah, I dont think AI is coming for your job any time soon
8 months ago
2
23
2
I'm writing a new blog series on practical implementation of substructural type systems, in Idris! The first blog post will look at substructural polymorphism and why it's *hard*, harder than people assume on first glance!
zanzix.github.io/posts/5-subs...
loading . . .
Compiler Engineering for Substructural Languages I: The Problem with Polymorphism
Can a correct-by-construction implementation of a substructural language be extended to a polymorphic lambda calculus?
https://zanzix.github.io/posts/5-substructural-polymorphism.html
8 months ago
1
35
10
reposted by
Zanzi Tangle
Francisco González - ROSEWATER OUT NOW!
8 months ago
I see people saying this sort of thing often, and quite frankly it makes me sad. The truth is, more people are making good adventure games now than were ever made during the “golden age” of the 90s. For example: 🧵
141
1738
613
Twitter was always overrun by dumb people, but now it's overrun by dumb people who are *proud* of being dumb, and that's a whole nother level of intolerable
8 months ago
6
161
11
reposted by
Zanzi Tangle
Gov. Bob Ferguson
8 months ago
Very proud to announce the Department of Health will now process all requests to change gender designation on birth certificates within three business days. Previously, there was as much as a 10 month wait.
291
7968
1617
Dependent types. the final frontier. to boldly type what no one has typed before.
8 months ago
0
13
1
does anyone have a non-trivial example of a linearly distributive category that's not compact closed, ie not Rel/Vect/Prof/Span?
8 months ago
1
1
0
reposted by
Zanzi Tangle
Dani Díaz
8 months ago
Going into a cave with this post and the "you could have invented transformers" one
mathstodon.xyz/@dpiponi/113...
, won't emerge until I've understood them.
add a skeleton here at some point
0
2
1
A new chapter in categorical-ML has just dropped: Transformers are *applicative functors*, and we can use this to generalize them beyond matrices
glaive-research.org/2025/02/11/G...
loading . . .
Generalized Transformers from Applicative Functors
Transformers are a machine-learning model at the foundation of many state-of-the-art systems in modern AI, originally proposed in [arXiv:1706.03762]. In this post, we are going to build a generalizati...
https://glaive-research.org/2025/02/11/Generalized-Transformers-from-Applicative-Functors.html
8 months ago
1
10
4
reposted by
Zanzi Tangle
José A. Alonso
8 months ago
What is a quotient? ~ Kevin Buzzard.
xenaproject.wordpress.com/2025/02/09/w...
#ITP
#LeanProver
#Math
loading . . .
What is a quotient?
Undergraduate mathematicians usually have a hard time defining functions from quotients in Lean, because they have been taught a specific model for quotients in their classes, which is not the mode…
https://xenaproject.wordpress.com/2025/02/09/what-is-a-quotient/
1
16
9
reposted by
Zanzi Tangle
Jacob S. Zelko
8 months ago
I seriously think that CatColab is one of the more exciting projects I have seen in the last few years and cannot speak more highly about it! It's thrilling to see the work being done here, how the categorical underpinnings work (double categories!), and it's potential in team-based modeling!
add a skeleton here at some point
0
4
1
the can't isnt actually alive or dead, it's alive ⅋ dead
8 months ago
0
8
1
It's standard in dependent type theory to implement types and terms as a single judgement, but I wonder what happens if you don't do that. It'd be a more restrictive system, but perhaps interesting in its own way
8 months ago
1
3
1
is there a nice inductive definition of "lists indexed by an upper-bound on their length"?
8 months ago
1
3
0
Hot take: record types should be fully determined by their field names and types, and therefore shouldn't need a constructor name This is something that typescript gets right that Haskell and Idris don't
8 months ago
12
30
2
dont you just hate it when you think you have a great idea but the type-checker disagrees
8 months ago
0
15
1
type-checking is a lens!
add a skeleton here at some point
9 months ago
0
7
3
Traversals are the optics for applicative functors, but is there an optic for alternative functors? forall f. (Alternative f) => (a -> f b) -> s -> f t
9 months ago
0
10
0
americans really love to chastise you for not voting for kamala doesn't even matter if you're not american. "oh, you live in london, and so couldn't vote? don't care, it's *your* fault she lost"
9 months ago
3
4
0
not at POPL myself, but would love to experience it vicariously - send me the coolest ideas you've learned so far
9 months ago
1
2
0
reposted by
Zanzi Tangle
Paolo Perrone
9 months ago
Never forget that you do can do natural gradient descent in Haskell!
github.com/alex404/goal
loading . . .
GitHub - alex404/goal: The Geometric OptimizAtion Libraries
The Geometric OptimizAtion Libraries. Contribute to alex404/goal development by creating an account on GitHub.
https://github.com/alex404/goal
0
10
2
are elm/purescript still as active as ever, or are they past their peak? I feel like I haven't seen jobs in either in qutie some time... Is it that React has eaten their lunch by leaning more into FP over the years?
9 months ago
1
5
0
what're the most exciting topics in the current JS/React/front-end dev meta? whom should i be following?
9 months ago
1
1
1
This has been a long time coming! Have you ever wondered what lenses and UI programming have in common? Can we recreate React, Elm, and Redux entirely using pure category theory? Read this series to find out.
cybercat.institute/2025/01/21/u...
loading . . .
Optics for UI 1: Deconstructing React with Parametrised Lenses
Lenses model a new paradigm of programming based on bidirectional processses. Recently André Videla has figured out how use them to implement RESTful servers, and as we will see in this blog post, the...
https://cybercat.institute/2025/01/21/ui-para-optic/
9 months ago
2
29
11
reposted by
Zanzi Tangle
julesh
9 months ago
A situation that arose in the MSP office yesterday
0
10
3
what is a chili pepper's one weakness? a chili's heel
9 months ago
1
34
2
Load more
feeds!
log in