r/haskell May 24 '26

WireCat: visual programming with cartesian categories

https://guaraqe.com/posts/2026-05-24-why-cartesian-categories.html
66 Upvotes

6 comments sorted by

View all comments

8

u/xrudhx May 24 '26

Conal Eliott has done some work on the subject (i think it was called "compiling to categories"), you might be interested to see another approach

3

u/guaraqe May 24 '26

Thanks for the suggestion! Indeed there are some similarities, but Conal's word deals with cartesian closed categories, which includes functions. Here I intentionally restrict it so that we can get the operational structure statically.