News for hackers. Stuff that matters.
Re:Tagged Unions Are Overrated by vmchale on Friday February 19, 2021 @09:48AM (#26193700)
There's a hack!

You can do

    data Value a =
      I32 Int32 a
      B Bool
and then

    type Value1 = Value ()
    type Value2 = Value Void
as a hack

There are no comments on this comment yet.