Next Types Are Theorems; Programs Are Proofs 24

Union types

        -- x :: a
        -- y :: b
        Left x  :: Either a b
        Right y :: Either a b

Next Next