4 ms·
I'm having trouble reading zig code, so I'm not sure how much overlap there is but I have done some work with mealy and moore encoded as co-algebras in haskell:
by solomonb 1y ago
I'm having trouble reading zig code, so I'm not sure how much overlap there is but I have done some work with mealy and moore encoded as co-algebras in haskell:
https://blog.cofree.coffee/2025-03-05-chat-bots-revisited/ https://blog.cofree.coffee/2025-03-05-chat-bots-revisited/
https://github.com/cofree-coffee/cofree-bot https://github.com/cofree-coffee/cofree-bot
Also using the lens library to encode moore machines as polynomial functors:
https://blog.cofree.coffee/2024-07-02-lensy-moore/ https://blog.cofree.coffee/2024-07-02-lensy-moore/
- goless 1y agoThanks for your reply, I will try to understand your code carefully, which may take some time. I have a raw haskell prototype of polystate here, maybe it will help you. https://github.com/sdzx-1/typed-gui/blob/main/examples/todoList/README.md https://github.com/sdzx-1/typed-gui/blob/main/examples/todoL...
- solomonb 1y agoRight on, I'll take a look at your haskell code this week.