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

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading