File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
typed-racket-lib/typed-racket/base-env Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 683683 (-Real . -> . -NonNegReal)))
684684
685685
686- (define (quotient-reminder -cases . cases)
686+ (define (quotient-remainder -cases . cases)
687687 (for/lists (qs rs qrs)
688688 ([i (in-list cases)])
689689 (match-define (list a b (list c d)) i)
692692 (-> a b (-values (list c d))))))
693693
694694 (define-values (quotient-spec remainder-spec quotient/remainder-spec)
695- (quotient-reminder -cases
695+ (quotient-remainder -cases
696696 (list -Zero -Int (list -Zero -Zero))
697697 (list -One -One (list -One -Zero))
698698 ;; division by one is identity, and has no remainder
707707 (list -Fixnum -One (list -Fixnum -Zero))
708708 (list -Byte -Nat (list -Byte -Byte))
709709 (list -Byte -Int (list -Fixnum -Byte))
710+ (list -Index -Byte (list -Index -Byte))
710711 (list -Index -Nat (list -Index -Index))
711712 (list -Index -Int (list -Fixnum -Index))
712713 (list -NonNegFixnum -Byte (list -NonNegFixnum -Byte))
You can’t perform that action at this time.
0 commit comments