Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Types for enum variants #1450

Closed
wants to merge 3 commits into from
Closed

Types for enum variants #1450

wants to merge 3 commits into from

Commits on Jan 7, 2016

  1. Variant types and untagged enums

    This is something of a two-part RFC, it proposes
    
    * making enum variants first-class types,
    * untagged enums (aka unions).
    
    The latter is part of the motivation for the former and relies on the former to
    be ergonomic.
    
    In the service of making variant types work, there is some digression into
    default type parameters for functions. However, that needs its own RFC to be
    spec'ed properly.
    nrc committed Jan 7, 2016
    Configuration menu
    Copy the full SHA
    5c81dd2 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2016

  1. WIP

    nrc committed Jan 13, 2016
    Configuration menu
    Copy the full SHA
    b2d89c5 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2016

  1. Remove the unions stuff

    RFC is just about variant types now
    nrc committed Jan 15, 2016
    Configuration menu
    Copy the full SHA
    6ce1c2d View commit details
    Browse the repository at this point in the history