Re:Type-Safe Unions in C++ and Rust
by masklinn on Friday October 07, 2016 @06:14AM
(#12659467)
Details (some features they provide or can provide), Swift's enumerations and Rust's enum are both implementation of the older concept of Algebraic Data Types (ADT), which can be found in pretty much any language inspired by ML (directly or indirectly).
[ Parent
| on HN ]
There are no comments on this comment yet.