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

Design direction for sum types #157

Merged
merged 29 commits into from
Feb 10, 2021
Merged

Design direction for sum types #157

merged 29 commits into from
Feb 10, 2021

Commits on Sep 8, 2020

  1. Configuration menu
    Copy the full SHA
    a873000 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    483166f View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2020

  1. Configuration menu
    Copy the full SHA
    ab67a8e View commit details
    Browse the repository at this point in the history
  2. Minor cleanup of FIXMEs

    geoffromer committed Sep 11, 2020
    Configuration menu
    Copy the full SHA
    e536993 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Configuration menu
    Copy the full SHA
    7783cb6 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Switch proposal to make conversion to StorageArray explicit, and co…

    …nsequently switch to using `Array(Storage)` instead of `StorageArray`
    geoffromer committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    6cab1d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. Extensive overhaul of sum types proposal:

    - Introduce `alternatives` blocks as a way of asserting that a set of alternatives is exhaustive and mutually exclusive.
    - Largely eliminate discussion of "substitution principle" for pattern matching as a whole, and instead focus on a "mirroring requirement" that applies to pattern functions specifically. Add extensive discussion of the potential drawbacks of this requirement.
    - Add discussion of sum types that are implemented with sentinel values rather than discriminators.
    - More comprehensive discussion of evaluation order
    geoffromer committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    a428835 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2431758 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Apply suggestions from code review

    Co-authored-by: josh11b <[email protected]>
    geoffromer and josh11b authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    4cdb352 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. Configuration menu
    Copy the full SHA
    b00255a View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Switch Storage to represent whole buffers, not individual bytes. Al…

    …so, explicitly discuss some issues that the OptionalPtr example was fudging, and mention the issue of `choice` alternative parameters having incomplete types.
    geoffromer committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    47d627e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60d00d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1c08f1 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. Configuration menu
    Copy the full SHA
    0afe466 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2020

  1. Configuration menu
    Copy the full SHA
    80bac79 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2020

  1. Discuss callback-based approach in depth, and focus on it as the lead…

    …ing alternative. Also add discussion of binding patterns that mutate in-place.
    geoffromer committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    026aba8 View commit details
    Browse the repository at this point in the history
  2. Respond to reviewer comments, and delete redundant/inaccurate discuss…

    …ion of "explicit inverses"
    geoffromer committed Dec 1, 2020
    Configuration menu
    Copy the full SHA
    4dbd31d View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2020

  1. Pivot to make "Pattern matching callbacks" the primary proposal, and …

    …move reference semantics to "open question" status.
    geoffromer committed Dec 14, 2020
    Configuration menu
    Copy the full SHA
    bdaac53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b8fb3a View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2021

  1. Configuration menu
    Copy the full SHA
    6010589 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: josh11b <[email protected]>
    geoffromer and josh11b authored Jan 11, 2021
    Configuration menu
    Copy the full SHA
    581267c View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. Configuration menu
    Copy the full SHA
    8ffcba5 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. Add discussion of how to distinguish patterns from expressions, and m…

    …ove the discussion of bare designators to integrate better with it.
    geoffromer committed Jan 18, 2021
    Configuration menu
    Copy the full SHA
    9e1ba63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e988ef View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2021

  1. Configuration menu
    Copy the full SHA
    e14d693 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4bb86d View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. Configuration menu
    Copy the full SHA
    2ab98c2 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. Configuration menu
    Copy the full SHA
    875d8cf View commit details
    Browse the repository at this point in the history
  2. Fix presubmit failure.

    geoffromer committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    468a65a View commit details
    Browse the repository at this point in the history