Skip to content

Commit ca9f86a

Browse files
committed
fx-: add cases for Byte>1, Index>1, Int>1
1 parent 5d67b1e commit ca9f86a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@
134134
(fx-from-cases
135135
(-> -Int -Zero -Fixnum : -true-propset : (-arg-path 0))
136136
(-One -One . -> . -Zero)
137+
(-Byte>1 -One . -> . -PosByte)
138+
(-Index>1 -One . -> . -PosIndex)
139+
(-Int>1 -One . -> . -PosFixnum)
137140
(-PosByte -One . -> . -Byte)
138141
(-PosIndex -One . -> . -Index)
139142
(-PosInt -One . -> . -NonNegFixnum)

0 commit comments

Comments
 (0)