Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goless
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
goless
1y ago
ziggit: https://ziggit.dev/t/polystate-composable-finite-state-machi...
32.
▲
by
goless
1y ago
reddit: https://www.reddit.com/r/Zig/comments/1lhfbjk/polystate_comp...
33.
▲
by
goless
1y ago
It relies heavily on compile-time evaluation of zig to achieve this, and I'm not sure if the same effect can be achieved in other languages.
34.
▲
by
goless
1y ago
Hi everyone, I developed an interesting library Polystate: Composable Finite State Machines Since I only have experience in haskell and zig, I'm curious if there are other languages or libraries with similar implementations?
35.
▲
Polystate: Composable Finite State Machines
(github.com)
115 points
by
goless
1y ago
|
46 comments
36.
▲
by
goless
1y ago
Polystate's Core Design Philosophy 1. Record the state machine's status at the type level. 2. Achieve composable state machines through type composition. Practical Effects of Polystate 1. Define the program's overall behavior
37.
▲
Typed-Fsm-Zig
(github.com)
1 points
by
goless
2y ago
|
0 comments
38.
▲
The typed-session is now available!
(github.com)
2 points
by
goless
2y ago
|
1 comments
39.
▲
by
goless
2y ago
The typed-session is available now. I wrote some articles on how to use typed-session. https://hackage.haskell.org/package/typed-session https://github.com/sdzx-1/How-to-use-typed-session/blob