Skip to content

Commit

Permalink
make reversed list notations left-associative
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgruetter committed Apr 18, 2024
1 parent e059c0d commit 53e60da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bedrock2/src/bedrock2/ReversedListNotations.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Require Coq.Lists.List.

Notation "xs ;+ x" := (cons x xs) (at level 60, format "xs ;+ x") : list_scope.
Notation "xs ;++ ys" := (app ys xs) (at level 60, format "xs ;++ ys") : list_scope.
Notation "xs ;+ x" := (cons x xs)
(at level 59, format "xs ;+ x", left associativity) : list_scope.
Notation "xs ;++ ys" := (app ys xs)
(at level 59, format "xs ;++ ys", left associativity) : list_scope.

0 comments on commit 53e60da

Please sign in to comment.