Re:Tagged unions, or ‘variants’, in C
by coot_ on Monday June 26, 2017 @06:52AM
(#14635730)
Variants, sum types and type classes are all different notions. In PureScript variants (https://github.com/natefaubion/purescript-variant) are used to have a homogeneous sum type that mixes different types, sum types is a single type with multiple constructors. Type classes others already explained.
[ Parent
| on HN ]
There are no comments on this comment yet.