typed-racket/typed-racket-lib/typed-racket
Chris Jester-Young 6ff74e8c35 Give correct type to in-port when used with custom reader (#367)
* Give correct type to `in-port` when used with custom reader.

Currently, `in-port` returns `(Sequenceof Any)` unconditionally,
which is correct if the given read function is `read` (default
value). However, `(in-port read-line)`, `(in-port read-char)`,
etc. should have more specific types.

* For `in-port`, strip out EOF from the sequence type.
2016-06-07 14:15:04 -04:00
..
base-env Give correct type to in-port when used with custom reader (#367) 2016-06-07 14:15:04 -04:00
env initial intersection types addition 2016-05-20 11:34:04 -04:00
infer use match*/no-order to reduce manual code duplication 2016-05-23 18:13:28 -04:00
minimal/lang Remove extra directories. 2014-12-02 00:53:36 -05:00
optimizer Stop tracking struct constructors. 2016-01-05 15:51:19 -06:00
private make cast sound 2016-06-06 13:19:33 -04:00
rep use match*/no-order to reduce manual code duplication 2016-05-23 18:13:28 -04:00
static-contracts initial intersection types addition 2016-05-20 11:34:04 -04:00
typecheck make cast sound 2016-06-06 13:19:33 -04:00
types Use the right equality function for parent-of? 2016-06-03 14:55:23 -04:00
utils Add first-order checks to simple-result-> contract 2016-06-03 13:49:26 -04:00
core.rkt Add timing for contract generation. 2015-09-11 13:39:03 -05:00
HISTORY.txt Update HISTORY for 6.5. 2016-04-18 17:29:37 -04:00
info.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
language-info.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
minimal.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
standard-inits.rkt Remove extra directories. 2014-12-02 00:53:36 -05:00
tc-setup.rkt Fix source location tracking for top-level forms 2015-09-30 17:03:22 -04:00
typed-racket.rkt Significantly reduce dependencies. 2015-04-03 12:50:55 -04:00
typed-reader.rkt Disable the #{} reader macro if a dispatch macro already exists on #\{ 2015-05-14 14:35:30 -07:00