Re:Virtual Structs Part 1: Where Rust’s Enum Shines
by pdpi on Tuesday May 05, 2015 @01:45PM
(#9493839)
enum gives you sum types, struct/tuples provide product types. That's pretty vanilla ADTs sorted. GADTs are a whole other can of worms though.
[ Parent
| on HN ]
There are no comments on this comment yet.