Skip to content

Commit 9b1b8aa

Browse files
author
Ryan Ficklin
committed
changed types of treelist-empty? and treelist-length back
1 parent 9bf4d27 commit 9b1b8aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typed-racket-lib/typed-racket/base-env/base-env.rkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,8 +1298,8 @@
12981298
;; Section 4.21 (TreeLists)
12991299

13001300
[treelist (-poly (a) (->* (list) a (-treelist a)))]
1301-
[treelist-empty? (-> (-treelist Univ) B : (-treelist (Un)))]
1302-
[treelist-length (-> (-treelist Univ) -Index)]
1301+
[treelist-empty? (-poly (a) (-> (-treelist a) B))]
1302+
[treelist-length (-poly (a) (-> (-treelist a) -Index))]
13031303
[treelist-member?
13041304
(-poly (a)
13051305
(cl->* ((-treelist a) a . -> . Univ)

0 commit comments

Comments
 (0)