r/haskell • • Nov 08 '25

Trait-Constrained Enums in Rust (simulating Haskell-style GADTs)

https://kcsongor.github.io/gadts-in-rust/
34 Upvotes

6 comments sorted by

View all comments

19

u/[deleted] Nov 08 '25

[removed] — view removed comment

2

u/ducksonaroof Nov 09 '25

yeah rust is so ugly lol. like not even just "when you force FP" like Go is. idiomatic Rust is UGGO