typed-racket/typed-racket-lib/typed-racket/utils
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
..
any-wrap.rkt Merge branch 'opaque' 2015-12-31 10:53:30 -05:00
arm.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
disappeared-use.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
disarm.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
early-return.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
evt-contract.rkt port typed-racket contracts to late-neg projections 2015-12-31 08:58:32 -06:00
lift.rkt Typecheck the top-level using trampolining macros 2015-08-14 21:25:54 -04:00
literal-syntax-class.rkt fix a bug where cover+tests could call syntax-local-introduce when not transforming 2015-11-10 16:32:09 -05:00
mutated-vars.rkt unstable/sequence -> racket/sequence 2015-08-13 10:41:15 -05:00
opaque-object.rkt port typed-racket contracts to late-neg projections 2015-12-31 08:58:32 -06:00
print-struct.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
promise-not-name-contract.rkt Fixes GH issue #268 “Can't provide promise for polymorphic struct”. 2015-12-17 14:52:40 +01:00
redirect-contract.rkt Adjust expansion of contract submod redirection 2015-10-29 17:50:18 -04:00
require-contract.rkt Add a typed/racket/unsafe library. 2015-09-29 18:48:08 -04:00
sealing-contract.rkt port typed-racket contracts to late-neg projections 2015-12-31 08:58:32 -06:00
simple-result-arrow.rkt Add the simple-result-> combinator to Typed Racket. 2016-01-16 22:27:18 -05:00
struct-extraction.rkt Split prims.rkt to reduce dependencies. 2015-03-18 18:47:49 -04:00
struct-type-c.rkt port typed-racket contracts to late-neg projections 2015-12-31 08:58:32 -06:00
stxclass-util.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
tarjan.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
tc-utils.rkt Don't report duplicate error messages. 2015-12-02 11:00:47 -05:00
timing.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
typed-method-property.rkt Add a custom object contract for use in TR 2015-03-04 16:26:35 -05:00
unit-utils.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
utils.rkt Add begin-for-cond-contract 2015-10-31 04:15:06 -04:00