Skip to content

Commit fa3e5a7

Browse files
cloudrac3rsamth
authored andcommitted
hash-keys: support try-order argument
1 parent 9018d47 commit fa3e5a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,9 @@
10481048
[hash-count (-> -HashTableTop -Index)]
10491049
[hash-empty? (-> -HashTableTop -Boolean)]
10501050
[hash-keys (-poly (a b) (cl-> [((-HT a b)) (-lst a)]
1051-
[(-HashTableTop) (-lst Univ)]))]
1051+
[((-HT a b) -Boolean) (-lst a)]
1052+
[(-HashTableTop) (-lst Univ)]
1053+
[(-HashTableTop -Boolean) (-lst Univ)]))]
10521054
[hash-values (-poly (a b) (cl-> [((-HT a b)) (-lst b)]
10531055
[(-HashTableTop) (-lst Univ)]))]
10541056
[hash->list (-poly (a b) (cl-> [((-HT a b)) (-lst (-pair a b))]

0 commit comments

Comments
 (0)