update to new tag syntax
This commit is contained in:
parent
42b97f317a
commit
ec8273587c
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ type pair<A,B> = {
|
|||
a: A, b: B
|
||||
};
|
||||
|
||||
tag rec<A> = _rec<A>;
|
||||
enum rec<A> = _rec<A>;
|
||||
type _rec<A> = {
|
||||
val: A,
|
||||
mutable rec: option<@rec<A>>
|
||||
|
|
Loading…
Add table
Reference in a new issue