Skip to content

Commit 433b4dd

Browse files
committed
whitespace-sensitive notation
1 parent 4cf19eb commit 433b4dd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/Init/Data/Slice/Basic.lean

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ structure _root_.Std.Slice (shape : RangeShape) (α : Type u) {β : Type v}
2525
carrier : α
2626
range : PRange shape β
2727

28-
syntax:max term "[" withoutPosition(term "...*") "]" : term
29-
syntax:max term "[" withoutPosition("*...*") "]" : term
30-
syntax:max term "[" withoutPosition(term "<...*") "]" : term
31-
syntax:max term "[" withoutPosition(term "...<" term) "]" : term
32-
syntax:max term "[" withoutPosition(term "<...<" term) "]" : term
33-
syntax:max term "[" withoutPosition("*...<" term) "]" : term
34-
syntax:max term "[" withoutPosition(term "...=" term) "]" : term
35-
syntax:max term "[" withoutPosition(term "<...=" term) "]" : term
36-
syntax:max term "[" withoutPosition("*...=" term) "]" : term
37-
syntax:max term "[" withoutPosition(term "..." term) "]" : term
38-
syntax:max term "[" withoutPosition(term "<..." term) "]" : term
39-
syntax:max term "[" withoutPosition("*..." term) "]" : term
28+
syntax:max term noWs "[" withoutPosition(term "...*") "]" : term
29+
syntax:max term noWs "[" withoutPosition("*...*") "]" : term
30+
syntax:max term noWs "[" withoutPosition(term "<...*") "]" : term
31+
syntax:max term noWs "[" withoutPosition(term "...<" term) "]" : term
32+
syntax:max term noWs "[" withoutPosition(term "<...<" term) "]" : term
33+
syntax:max term noWs "[" withoutPosition("*...<" term) "]" : term
34+
syntax:max term noWs "[" withoutPosition(term "...=" term) "]" : term
35+
syntax:max term noWs "[" withoutPosition(term "<...=" term) "]" : term
36+
syntax:max term noWs "[" withoutPosition("*...=" term) "]" : term
37+
syntax:max term noWs "[" withoutPosition(term "..." term) "]" : term
38+
syntax:max term noWs "[" withoutPosition(term "<..." term) "]" : term
39+
syntax:max term noWs "[" withoutPosition("*..." term) "]" : term
4040

4141
macro_rules
4242
| `($c[*...*]) => `(Slice.mk $c *..*)

0 commit comments

Comments
 (0)