Commit Graph

3306 Commits

Author SHA1 Message Date
Matthew Flatt
30e502ecc0 auto-fix documentation package dependencies
original commit: d57f26f001701c54bdd4163c60251dab4db55eba
2013-07-12 14:52:42 -06:00
Eric Dobson
6580635e35 Redo the calculation of opt-lambda expansion.
Closes PR 13661.
Closes PR 13584.

original commit: c910252fdff4d18343fc9b47334b4fd4423ae794
2013-07-10 23:27:05 -07:00
Eric Dobson
a403b7f948 Move files accidentily put in collects into pkgs.
original commit: 39333f662667fa50f27c92b9d5002e563018c645
2013-07-10 23:09:11 -07:00
Eric Dobson
af7e634fa3 Make case-lambda correctly typecheck more interesting cases.
Also doesn't typecheck dead code based on case-lambda branches never
taken.

Closes PR 12973.

original commit: e26bbffbc939b77fc04839d93cf53b99539b6860
2013-07-10 22:16:46 -07:00
Eric Dobson
e4193a0126 Cleanup provide handling in TR.
original commit: 6aad234d019030cd1ad1bc007cd6a4acfb13e760
2013-07-10 21:13:59 -07:00
Vincent St-Amour
342f479475 Move typed-racket-more to typed-racket-pkgs.
original commit: f57774de83b7d63365900cbe4e62007e7a1b507e
2013-07-09 18:26:39 -04:00
Asumu Takikawa
8577ca01cf Switch two type errors to internal errors
One of these was broken and falling into that case would
raise a random runtime error anyway.

original commit: 54cea00f4fce318986802295582151fa47a78fbd
2013-07-09 18:25:56 -04:00
Eric Dobson
4e32bbdbcf Add some test cases for plambda fixes that have already been applied.
Closes PR 13751.
Closes PR 13754.

original commit: 3990b43b6a2cc79c7affa05357d5ca85485a5008
2013-07-08 21:01:31 -07:00
Sam Tobin-Hochstadt
ccde83e589 Improve deps for Typed Racket tests.
original commit: 2299d7425d46cbb91472afd31b4216f0841e911b
2013-07-08 17:23:42 -04:00
Sam Tobin-Hochstadt
2330c5aff1 Fix handling of hasheq and hasheqv in any-wrap/c.
Fixes bug reported by Abraham Egnor.

original commit: 0f5404c80aec36200859889690683b89617f259a
2013-07-08 17:23:41 -04:00
Matthew Flatt
ed3ae0854d Typed Racket: reference `#%type-decl' through a module path index
Avoid problems with absolute paths and bytecode files.

original commit: f34a689bd702f649e697946f5fa7caf3fe244be0
2013-07-08 12:24:16 -06:00
Robby Findler
f709ea56a8 depend on redex-lib instead of all of redex
original commit: 31fbce7e5a8d2dc4c6f5a0bc945c97d92a04ca19
2013-07-06 14:34:47 -05:00
Asumu Takikawa
a200e03b19 Fix type error reporting for case-> with * domains
In the case that a case-> type included a case with a *
domain and had additional branches, a use of `apply` with
that type would fail to report a type error. This was
because the type of the applied list was ignored for type
error generation.

Closes PR 13893

original commit: 328956e8b5cd9b9c6256b1eac4f46aec98ce2a5d
2013-07-05 18:08:12 -04:00
Sam Tobin-Hochstadt
9c7ea3f871 Use #lang info instead of #lang setup/infotab.
original commit: 5a7ca7ebb56b2215f2d395ed052c03ea740817ea
2013-07-04 16:46:32 -04:00
Sam Tobin-Hochstadt
1a4c824a5c Fix dependencies.
original commit: 88e4715406f16de1cb58f634790be6e146a825da
2013-07-03 13:11:33 -04:00
Sam Tobin-Hochstadt
a556b619e4 Create unstable-debug-lib, unstable-pretty-lib, unstable-flonum-lib packages.
original commit: c7b3750320c1b4b00e5acab2defbc20900656bec
2013-07-02 18:28:34 -04:00
Asumu Takikawa
b470ef0a6e Examples for #:opaque and require/typed/provide
original commit: 4fef780a7b5fa36c3c7336c3079365160828c30b
2013-07-02 16:39:32 -04:00
Asumu Takikawa
372607ba8a Support require/typed clauses in require/typed/provide
Closes PR 13901

original commit: 4dcfe9b8b9e3a339611b0d3acf3ef40ea64532c9
2013-07-02 16:07:50 -04:00
Asumu Takikawa
cf8a8ef9c0 Make struct: work at the REPL
Closes PR 11669

original commit: ebc6a6618e95f6d919f3e0ac1783da6564e69f7c
2013-07-02 00:10:33 -04:00
Sam Tobin-Hochstadt
a42465b65f Move most of the compiler collection to compiler-lib.
original commit: 3ad009070e063614f22a32fbbffa950a8d84e599
2013-07-01 12:08:42 -04:00
Sam Tobin-Hochstadt
ddf9f5aa4d Move most of the net collection out of the core.
- Most units and signatures from the `net` collection
  are now in `compatibility-lib`.
- Most of the actual libraries are in the `net-lib`
  package.

original commit: 2b1fb036c63639bc5dbb65348c4f4e5802c95b53
2013-07-01 11:27:14 -04:00
Matthew Flatt
9f5ea71a83 more auto package-dependency repairs
As detected by the repaired `raco setup'.

original commit: cf754e2058e94774863bc1ddf51f82023c1bf717
2013-06-29 18:42:00 -06:00
Matthew Flatt
9274a9770a auto-fix dependencies in "pkgs"
Left one dependency broken: "drracket" currently depends on "htdp" for
a test. That needs to be fixed by removing the dependency (moving the
test to "htdp?), instead of changing the declared dependencies.

original commit: 51290fd2a95def6bb3b6d3d735cb62444e157553
2013-06-29 06:51:19 -06:00
Matthew Flatt
85326f7470 fill in some pkg `implies'
original commit: 5c42f46158248130a8179e7a563d16c5fc9d0d35
2013-06-29 06:51:18 -06:00
Ambrose Bonnaire-Sergeant
f75706d1be Typo in comment
original commit: 43ea8e442c70197bce50958c17dc7fd63c3363c1
2013-06-27 19:00:14 -04:00
Sam Tobin-Hochstadt
3b26e61819 Move compatibility, pconvert, and mutable pairs to new packages.
original commit: 59c6519cd3899f2bc872f0f2105d9c65b536a682
2013-06-27 13:53:52 -04:00
Matthew Flatt
1fabdff401 repair interaction of taints and submodule expansion
original commit: dc11090f6bc6f4bf4494e50350526a221cfed50a
2013-06-26 12:59:44 -07:00
Sam Tobin-Hochstadt
609f5d5aa2 Add collection spec for new package.
original commit: e61b3f8f5ff0fb9eb8eede3819d77a4665931d53
2013-06-25 16:54:55 -04:00
Matthew Flatt
2d05914f44 a step toward single-collection packages as default
A package's "info.rkt" file should define `collection' as a
string to name a single-collection package's collection, or as
the symbol 'multi to declare the package as multi-collection.
If `collection' is 'same-as-pkg, then the package name is used
as the collection name.

The default for `collection' is 'multi for now, but the intent
is to change the default to 'same-as-pkg after a conversion
period. Also, support for a `single-collection' definition remains
in place, but it wil be removed.

original commit: c738a6aa3eee89a82d577dd35c70eca8ed32f5b4
2013-06-25 22:46:23 +02:00
Sam Tobin-Hochstadt
2675bf4a35 Remove unneeded require.
original commit: d8a297620b1d8bc235127958dd007c0814c06861
2013-06-25 16:39:54 -04:00
Sam Tobin-Hochstadt
e5d3925a3a Move Typed Racket tests to their own package.
original commit: 1d89e18bca9ada96854d931dba392b930b2105d3
2013-06-25 16:39:54 -04:00
Sam Tobin-Hochstadt
2ea715643e Fix types for new racket/file keyword arguments.
original commit: 7f3ecd6e09c9d1cda47581de22eb4fab09aaa775
2013-06-25 16:32:48 -04:00
Asumu Takikawa
eb8a1f797e Improve TR timing logging
original commit: 9c4fcd46231f49d94efaacb77c144a92385ba371
2013-06-24 18:24:17 -04:00
Asumu Takikawa
cf3593cea0 Fix test for 29bce22d0b8c27e2ebcc337586e02159ad4a4f42
Oddly, this test succeeded locally even with the
wrong exception expression. DrDr caught it though.

original commit: ec80b7d01caf8ff830ee4ad7fd878d281aead761
2013-06-22 12:58:52 -04:00
Asumu Takikawa
30fd1d07fa Fix internal error for vector type-checking
If multiple values were expected and not provided
when type-checking a vector expression, TR would throw
an internal error.

Thanks to Pierpaolo for the report!

original commit: 29bce22d0b8c27e2ebcc337586e02159ad4a4f42
2013-06-21 21:08:57 -04:00
Matthew Flatt
b7a6b9381c move release notes in appropriate packages
A collection declares release notes with a `release-notes' field in
"info.rkt".

The "doc" directory is now populated exclusively by generated content,
instead of having a static "release-notes" directory (and a "keep-dirs.rktd"
file to record the static directories).

original commit: fa6f56fcb118a99a803697de6cdc7ee7fd9688a4
2013-06-19 21:01:52 -06:00
Matthew Flatt
789b158882 reorganize into core plus packages
The "racket" directory contains a pared-back version of the
repository, roughly.

The "pkgs" directory everything else in the repository, but
organized into packages.

original commit: b2ebb0a28bf8136e75cd98316c22fe54c30eacb2
2013-06-19 09:01:37 -06:00
Asumu Takikawa
f9551fb49a Only generate poly contracts for functions
Closes PR 13815

original commit: bafaf520565d1237d47a6f575fd502d5901afd4b
2013-06-18 12:07:40 -04:00
Sam Tobin-Hochstadt
c9f69a8ba4 Remove references to unstable/match from Typed Racket.
original commit: aba4def03ce532c0e077f302bc2c2fe777f3912c
2013-06-14 16:45:43 -04:00
Sam Tobin-Hochstadt
c05383c66c Remove uses of unstable/debug from Typed Racket.
original commit: 536e3887bc72abd1219d32934d392ef173478ab2
2013-06-14 13:51:32 -04:00
Asumu Takikawa
9f7bc9185d Remove memq, memv, member from #%kernel
These are now implmented purely in Racket on all
platforms.

original commit: c305dba649ff9b09872aa5d215c5da1929b52860
2013-06-11 11:57:22 -04:00
Asumu Takikawa
18c35d93f8 Update TR base environment
original commit: bab1997e58a3a2e69f4601047461dbfe39987b8d
2013-06-11 11:57:22 -04:00
Vincent St-Amour
9690eda145 Fix type of gensym.
original commit: c070aaecda49a0128a0db7bcab2354423a4b8f1b
2013-06-07 15:24:22 -04:00
Asumu Takikawa
88c2fecdf7 Improve TR test case
original commit: 75f0c88feb1586adb445e892f44a19b97bfe4293
2013-06-07 15:14:18 -04:00
Asumu Takikawa
8d9464940b Fix union merging
Trying to merge (and thus resolve) applications of struct
types would cause infinite looping on type instantiation
if the struct type used both a union and recursion.

Closes PR 13821

original commit: c8e281a80e707cb19014a962df40b466c532910c
2013-06-07 15:14:18 -04:00
Asumu Takikawa
154824c9af Add match*? to unstable/match
original commit: 12e5bc645bf6e4c8c74cd6460efefccbf5a5680d
2013-06-07 15:14:18 -04:00
Vincent St-Amour
a598ba1617 Fix unsound fxquotient optimization.
Closes PR13827.

original commit: 5e304161100ee53c1150476b837e21a1baa820f3
2013-06-06 13:20:30 -04:00
Vincent St-Amour
f8cbf0dccd Fix unsound unary fixnum subtraction optimization.
Closes PR13826.

original commit: 93d4a5d4266511166de9e8549afec89922a4eb84
2013-06-06 13:01:43 -04:00
Asumu Takikawa
a8abe6ce83 Add a few more comments for inference modules
original commit: 6014c78a553ae454cd8b8d8f3d485295b3e5328d
2013-06-05 16:18:22 -04:00
Vincent St-Amour
11e047d3f9 Turn off TR contracts.
original commit: 145f8711c8c203a8e988a30ff53d5839ca536386
2013-06-01 08:15:10 -04:00