typed-racket/typed-racket-lib
Sam Tobin-Hochstadt 838431c176 Add the simple-result-> combinator to Typed Racket.
This is used for functions with a single argument imported with
`require/typed`, and avoids unneccessary checks. This produces a
3x speedup on the following benchmark:

  #lang racket/base
  (module m racket/base
    (provide f)
    (define (f x) x))
  (module n typed/racket/base
    (require/typed
     (submod ".." m)
     [f (-> Integer Integer)])
    (time
     (for ([x (in-range 1000000)])
       (f 1) (f 2) (f 3) (f 4))))
  (require 'n)

on top of the previous improvment from using `unsafe-procedure-chaperone`
and `procedure-result-arity`.
2016-01-16 22:27:18 -05:00
..
typed Only show OC button in DrR when the tool is actually loaded. 2015-12-18 15:58:40 -06:00
typed-racket Add the simple-result-> combinator to Typed Racket. 2016-01-16 22:27:18 -05:00
info.rkt Allow the types created for structs to be specified manually 2015-12-30 13:12:05 -08:00
LICENSE.txt Remove extra directories. 2014-12-02 00:53:36 -05:00