Use up-to-date struct syntax in example
original commit: 59eb1ad13c02bf9b0fadd5ee2d0131f86f95292f
This commit is contained in:
parent
a098030f88
commit
63f4bfb6c5
|
@ -394,7 +394,7 @@ Racket.
|
|||
(module TYPED typed/racket
|
||||
(require/typed 'UNTYPED
|
||||
[n Natural]
|
||||
[struct IntTree
|
||||
[#:struct IntTree
|
||||
([elem : Integer]
|
||||
[left : IntTree]
|
||||
[right : IntTree])]))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user