Skip to content

Commit

Permalink
add types to unsafe-normalize-inputs in racket/private/for
Browse files Browse the repository at this point in the history
The function was introduced in racket @ 18ff816358f400908b8cdc1071f3f65059da68e3
  • Loading branch information
capfredf authored and samth committed Nov 6, 2020
1 parent f5128a5 commit b6b0376
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions typed-racket-lib/typed-racket/base-env/base-special-env.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
(->opt -SingleFlonum -Real [-SingleFlonum] (-lst -SingleFlonum))
(->opt -InexactReal -Real [-InexactReal] (-lst -InexactReal))
(->opt -Real -Real [-Real] (-lst -Real)))]
;; unsafe-normalise-inputs
[(make-template-identifier 'unsafe-normalise-inputs 'racket/private/for)
(-poly (a)
(-> (-> a -Nat) a -Nat (Un (-val #f) -Nat) -Nat (-values (list a -Index -Index -Index))))]
;; normalise-inputs
[(make-template-identifier 'normalise-inputs 'racket/private/for)
(-poly (a)
Expand Down

0 comments on commit b6b0376

Please sign in to comment.