(no title)
siebenmann | 1 year ago
I agree with you about the overall motivation for Rust-style enums. I just think it's surprisingly complex to get even the memory efficiency advantages, never mind anything more ambitious.
siebenmann | 1 year ago
I agree with you about the overall motivation for Rust-style enums. I just think it's surprisingly complex to get even the memory efficiency advantages, never mind anything more ambitious.
treyd|1 year ago
The solution to this should be trivial. You just have to extend the gcshape concept to account for the enum discriminator.
ryanpetrich|1 year ago
foldr|1 year ago
I'm not sure what you're referring to with 'anything more ambitious'.