News for hackers. Stuff that matters.
Re:Rust: “Explain GATs Like I'm 5 Years Old” by howinteresting on Monday November 07, 2022 @10:54AM (#33507437)
Bring able to abstract over Rc/RefCell and Arc/Mutex with marker types seems pretty useful. It's not directly HKT but it enables use cases that would otherwise be supported by HKT.
Re:Rust: “Explain GATs Like I'm 5 Years Old” by dllthomas on Monday November 07, 2022 @12:03PM (#33508603)
Yes, but that doesn't make it somehow accurate to explain HKT and pretend you're explaining GAT...
Re:Rust: “Explain GATs Like I'm 5 Years Old” by howinteresting on Monday November 07, 2022 @12:16PM (#33508811)
That is definitely true.