Skip to content
Snippets Groups Projects

Allow pattern and type annotations in propset notation

Merged Thibaut Pérami requested to merge tperami/stdpp:propsetbinder into master
All threads resolved!

This allows to use patterns and type annotations in the propset notation, Like {[ (x,y) | ... ]} or {[ x : T | ...]} or even {[ (x, y) : A * B | ...]}.

However, for both the old and new notation, this notation immediately break if someone adds a binary infix | notation downstream, In which case this will be parsed as a singleton of whatever the result of the | operation is. This was already the case before, so anyone that did that already broke the original propset notation

Edited by Thibaut Pérami

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Thibaut Pérami added 1 commit

    added 1 commit

    • db05f07d - Allow patterns and type annotations in propset notation

    Compare with previous version

  • Thibaut Pérami added 1 commit

    added 1 commit

    • c2f64d9d - Allow patterns and type annotations in propset notation

    Compare with previous version

  • Thibaut Pérami resolved all threads

    resolved all threads

  • Robbert Krebbers
  • Thibaut Pérami added 1 commit

    added 1 commit

    • defc46c4 - Allow patterns and type annotations in propset notation

    Compare with previous version

  • Thibaut Pérami resolved all threads

    resolved all threads

  • Ralf Jung
  • Thibaut Pérami added 1 commit

    added 1 commit

    • cb628394 - Allow patterns and type annotations in propset notation

    Compare with previous version

  • Thibaut Pérami resolved all threads

    resolved all threads

  • Author Contributor

    Is this good to go then? Or do you have any other comments? @jung @robbertkrebbers

  • Thibaut Pérami added 19 commits

    added 19 commits

    Compare with previous version

  • Thibaut Pérami resolved all threads

    resolved all threads

  • Thibaut Pérami added 1 commit

    added 1 commit

    • 4e203204 - Allow patterns and type annotations in propset notation

    Compare with previous version

  • Robbert Krebbers resolved all threads

    resolved all threads

  • added 1 commit

    Compare with previous version

  • Robbert Krebbers added 5 commits

    added 5 commits

    Compare with previous version

  • Robbert Krebbers enabled an automatic merge when the pipeline for fc4a5089 succeeds

    enabled an automatic merge when the pipeline for fc4a5089 succeeds

  • Thanks and merging.

  • Robbert Krebbers mentioned in commit 69984fab

    mentioned in commit 69984fab

  • Robbert Krebbers mentioned in issue #216

    mentioned in issue #216

  • Please register or sign in to reply
    Loading