File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 1c1dc651a70a1c8a1ee2ca896f4cc29ec88b363c
2
+ refs/heads/master: 0633c7ae6e54edebde8421cef14267ad1ba1e30c
Original file line number Diff line number Diff line change @@ -2193,9 +2193,9 @@ a = cat;
2193
2193
2194
2194
An example of a @emph {recursive } @code {tag } type and its use:
2195
2195
@example
2196
- type list[T] = tag(nil,
2196
+ type list[T] = tag(nil() ,
2197
2197
cons(T, @@ list[T]));
2198
- let list[int] a = cons(7, cons(13, nil));
2198
+ let list[int] a = cons(7, cons(13, nil() ));
2199
2199
@end example
2200
2200
2201
2201
@@ -3315,9 +3315,9 @@ control enters the block.
3315
3315
An example of a pattern @code {alt } statement:
3316
3316
3317
3317
@example
3318
- type list[X] = tag(nil, cons(X, @@ list[X]));
3318
+ type list[X] = tag(nil() , cons(X, @@ list[X]));
3319
3319
3320
- let list[int] x = cons(10, cons(11, nil));
3320
+ let list[int] x = cons(10, cons(11, nil() ));
3321
3321
3322
3322
alt (x) @{
3323
3323
case (cons(a, cons(b, _))) @{
You can’t perform that action at this time.
0 commit comments