Re:Understanding Memory Fragmentation in Haskell
by platz on Saturday August 22, 2020 @11:11AM
(#24244637)
GHC models linearity differently. Rust puts linearity on the types, GHC puts linearity on the arrows.
https://i.imgur.com/s0Mxhcr_d.webp?maxwidth=640&shape=thumb&...
Re:Understanding Memory Fragmentation in Haskell
by senorsmile on Saturday August 22, 2020 @01:10PM
(#24245533)
Is Idris 2's linearity the same as Haskell's in this respect?
Why, though?
Is it because GHC's linear types are a superset of Rust's linear types? I guess that could rule out some features the compiler is able to prove (or not).