Use up-to-date struct syntax in example
This commit is contained in:
parent
2c35a98ad8
commit
59eb1ad13c
|
@ -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