3 ms·
The stabilization of GAT's was previously discussed https://news.ycombinator.com/item?id=32829806 https://news.ycombinator.com/item?id=32829806 From that threa
by zozbot234 4y ago
The stabilization of GAT's was previously discussed https://news.ycombinator.com/item?id=32829806 https://news.ycombinator.com/item?id=32829806
From that thread, a link https://www.fpcomplete.com/blog/monads-gats-nightly-rust/ https://www.fpcomplete.com/blog/monads-gats-nightly-rust/ to a comparison of GAT's w/ HKTs as seen in high-level functional languages. Note that the version of GAT's provided here is a MVP and might be unable to express some of these patterns.
- 4m1rk 4y agoThis topic made me think that you'll eventually have to support all FP principles in a strongly type safe language like Rust which reminds me of Scala FP community. I'm not sure if it ended up being a good thing for Scala long-term. I also wonder whether Linux kernel community would adapt these concepts or reject them for the sake of KISS.