Eric Dobson
c8e74de12c
Remove #{id : Type} annotations from unit tests.
...
They don't work if the code is compiled and do if it isn't, which causes
interesting test case failures.
original commit: 48de8a43c0e3978a34057beae30d676a84436c8e
2014-05-27 22:06:18 -07:00
Eric Dobson
0266066770
Move the unconditional prop addition to with-lexical-env/extend-props.
...
original commit: 9b42fca050a8d1cee0e8cd17610ba42b45aee05f
2014-05-26 18:59:05 -07:00
Eric Dobson
d69316ff91
Make tc-let add unconditional prop.
...
original commit: 13bcc61fd4631072294902bba97698bb9c6d5465
2014-05-26 18:59:04 -07:00
Eric Dobson
22f507dc18
Make tc-if not manage raw prop-envs.
...
original commit: daf087c8013bcba465fe0f0662529edda7fef1cf
2014-05-26 18:59:04 -07:00
Eric Dobson
eabe5a6a33
Make tc-if use add-unconditional-prop.
...
original commit: fd2f1a8f22e503ba1321adbbdcba35a70c00faf2
2014-05-26 18:59:04 -07:00
Eric Dobson
f44205f710
Simplify how we add props after tc-if.
...
original commit: 62b41b39e76cc1eeef81f63d6dd28a37dd145ed8
2014-05-26 18:59:04 -07:00
Eric Dobson
d802e520b6
Add with-lexical-env/extend-props.
...
original commit: 1dc33167c221d5369bb7e2ab2500de59465b361d
2014-05-26 18:59:03 -07:00
Eric Dobson
ae09b4f314
Make implied-atomic work on AndFilters as well.
...
original commit: 06f08b9e3041045c9207502307557fcf6767cce7
2014-05-26 18:59:03 -07:00
Eric Dobson
9313645033
Cleanup combine-props.
...
original commit: 309a3d706be309b3763e74d8f8e54e238c81a525
2014-05-26 18:13:52 -07:00
Eric Dobson
74ca9b9fd4
Cleanup env+.
...
original commit: 77255ba6d5c86a395701d6c58c37af15079f7e95
2014-05-26 18:13:52 -07:00
Eric Dobson
3637f691ef
Make update do actual structural recursion over the path.
...
original commit: 0d85aa79a380758c9be14a328a885547fdcb0040
2014-05-26 18:13:52 -07:00
Eric Dobson
8ec892abba
Delete case in tc-expr which is not needed.
...
original commit: 3f5f4c9a54e48c0562112ea77cc27a7b5f1bbec9
2014-05-26 18:13:52 -07:00
Eric Dobson
f48adc31a3
Fix name escape in tc/rec-lambda/check.
...
original commit: 684bde6c6e3e5922d6c3779384df3e06032f8c9c
2014-05-26 18:13:52 -07:00
Eric Dobson
3d04add5d4
Cleanup function type creation in tc/rec-lambda/check;
...
original commit: ebd7f8dc92613e8d9d561e650db982a33c5c6955
2014-05-26 18:13:52 -07:00
Eric Dobson
6ec3879afa
Move replace-names from tc-metafunctions to tc-subst.
...
original commit: 70a70166d1b2fcae0a841208217b1815db124911
2014-05-26 17:18:34 -07:00
Eric Dobson
185697e6ee
Make a subst-tc-results.
...
original commit: bdbdac3b67fa424bd3c57ec9f344c1fddf22ba56
2014-05-26 17:18:34 -07:00
Eric Dobson
209fc58db0
Make tc-literal tests actually include all of the tests.
...
original commit: 7696b8ca71e24b138376d300e4fa0536caa06421
2014-05-26 17:06:27 -07:00
Eric Dobson
b85f374840
Minor cleanup on app of list.
...
original commit: 755f4835beec38af09a7fb229af7d48bb247a54d
2014-05-26 17:06:27 -07:00
Eric Dobson
231026ac8e
Fix typechecking of andmap/ormap on dotted lists.
...
original commit: c60b3d8b03cc095796f634c81ba04567bf192ec3
2014-05-26 17:06:27 -07:00
Eric Dobson
f97ef41153
Fix printing of AnyValues with filters.
...
original commit: 817ec2238a96319985293f3743cc5cdb781c6ede
2014-05-26 12:01:33 -07:00
Eric Dobson
cece2ccc77
Add support for tc-any-results having a filter.
...
original commit: 62c4f5d1fbb4f14d77a7e3c1b1020d53853060f4
2014-05-26 11:43:48 -07:00
Eric Dobson
e0ca6b99d9
Add filter to AnyValues.
...
original commit: fac2f05a6d4995a9946789bafd322899a1e8484d
2014-05-26 11:43:48 -07:00
Eric Dobson
fca7a3b26f
Specialize ignore-some in expression position.
...
We now do not return -Bottom from ignore-some, because it has
issues with improved handling of filters in check-below.
original commit: 0c5c6f50c1a794d79cdea8b76133727aa93e0422
2014-05-26 11:43:48 -07:00
Eric Dobson
d8f090b255
Fix contract breakage in TR.
...
original commit: da654f09bcc6e534e0123b1b7b4572b4c9cbb8d9
2014-05-26 09:57:05 -07:00
Eric Dobson
ff23359f9d
Make ... <: * case more correct.
...
original commit: ff8ed078d55637c5ba24ffd16731f7e799d11093
2014-05-26 08:22:35 -07:00
Eric Dobson
f9352fa2a4
Simplify the * <: ... and ... <: * cases in cgen/seq.
...
This allows move-vars+rest-to-dmap to be saner, and thus clean up mover.
original commit: 6b771a8c258d5be0b18db9309184cecdbe0a22a5
2014-05-26 08:22:35 -07:00
Eric Dobson
5fe32e573d
Inline some local variables in cgen/seq.
...
original commit: f321098ccea6390954fa9915a53535eb9b09d1cf
2014-05-26 08:22:34 -07:00
Eric Dobson
79bf302620
Remove top-arr.
...
original commit: f6588df2204a76b509678838a43b7be260d6d344
2014-05-26 08:22:12 -07:00
Eric Dobson
4f558bdda5
Add performance hint to var-promote.
...
original commit: 01b2b8376e6c0edaa181ecbe96599dc4e41f3a18
2014-05-26 08:13:17 -07:00
Eric Dobson
163836d96d
Make initial version of structural type recursion, and use it.
...
original commit: 9efa4af051ee32209d9f45d24c7c682f83efb963
2014-05-26 08:13:16 -07:00
Eric Dobson
cb79a40342
Merge var-promote and var-demote.
...
original commit: cadc2dcb8f7960eb581d1b8d45dfec0fac08311d
2014-05-26 08:13:16 -07:00
Eric Dobson
49a39e008c
Add tests for promote/demote.
...
Also fix promotion/demotion in hashtables and kw arguments.
original commit: ee4e07f5eb51bcb55640a715132ad91b46e0a74c
2014-05-26 08:13:16 -07:00
Eric Dobson
a04388d643
Make promote-demote no longer a unit.
...
original commit: 5e4eecc8c66f275f8f54ecc0d6f4d8510d5c7b90
2014-05-26 08:13:16 -07:00
Jordan Johnson
e7ad790163
Re-exported types from openssl.
...
original commit: cd9e46edc29faa5aa0faae0532b38273f12b25bb
2014-05-25 22:51:43 -04:00
Jordan Johnson
4499e617ec
Lifted types & main openssl lib to separate files.
...
Noticed that typed wrappers for some other libs (e.g., db) would use
the types but not necessarily the functions, so it seems logical to
separate the types.
Also, after I built Racket on my Mac, it failed to find
openssl/main.rkt named as it was — signaled an error that indicated it
was looking in <my git repo>/pkgs/htdp-pkgs/htdp-lib/typed/openssl.rkt
— so I lifted openssl/main.rkt out to openssl.rkt
original commit: 44460d383d09a7a085610b32ef17a60b4fd2041d
2014-05-25 22:51:43 -04:00
Jordan Johnson
98f5df33c9
Added openssl, openssl/sha1, and openssl/md5.
...
Also, listed new libs in TR scribble docs.
original commit: a651845605bdea40a4290edd72f104437afd837c
2014-05-25 22:51:43 -04:00
Eric Dobson
5470604b70
Make unfold use typecase instead of subst.
...
original commit: 42acb08399729acc20f6900b330bab9396f796d8
2014-05-21 09:39:56 -07:00
Eric Dobson
951d8ed2d7
Remove unused variable in constraint struct.
...
original commit: 895ab035d25aef445980461490357f34e3932d43
2014-05-20 20:57:43 -07:00
Eric Dobson
e716654c23
Simplify constraint->type.
...
original commit: 993748909f7003ac25c3bb35eb2ceca9554086d9
2014-05-20 20:57:42 -07:00
Eric Dobson
e488b2d27f
Remove unused code in subst-gen, and remove internal error.
...
original commit: 6cc10cdb181e88a8fd1bc2958314c44e086fe8e3
2014-05-20 20:57:42 -07:00
Eric Dobson
6df2e0b54d
Make subst-gen not duplicate call to values.
...
original commit: 7e7350691fde793b5ec751f271388b176107c3eb
2014-05-20 20:57:42 -07:00
Eric Dobson
615ce5603c
Unset contracts enabled by default for TR.
...
original commit: 5ab3eb81fdc695f30353e0f49dd7fb59a411f809
2014-05-20 20:57:26 -07:00
Eric Dobson
3beb5c228e
Re-enable Values and cgen/seq, and fix contracts on substitute.
...
After longer testing confirmed that this was just to strict contracts on
substitute.
original commit: f42a7b9fc9bc31873a2d94f7ad47f8d6d3a8cf78
2014-05-20 20:52:43 -07:00
Eric Dobson
71d963c693
Rollback using cgen/seq for values because the generated substitutions have issues.
...
original commit: 90341fa8fbb45cb574c174af02d69968833fb314
2014-05-20 00:06:11 -07:00
Eric Dobson
e139c1bf37
Split out shared code for generating dbound prefixes.
...
original commit: d83b2b8ec28c418e69fc9e9004ef5f638eca1bbf
2014-05-19 21:34:53 -07:00
Eric Dobson
e058157fdb
Merge case for applying polydotted functions.
...
original commit: 90733159317bcea32b81585a7f29ff6967cb366c
2014-05-19 21:34:53 -07:00
Eric Dobson
21d2944b9c
Make list inference code be shared with sequence code.
...
original commit: f7f4a2d448d733f7ce7d2967cd68ad9353e838f7
2014-05-19 21:34:52 -07:00
Eric Dobson
1135a9bebd
Fix dotted <: starred case.
...
original commit: 771b602303f49476b6caf2f586167eac30f14a3b
2014-05-19 21:34:52 -07:00
Eric Dobson
1d6fa7e4b1
Fix uniform arg checking, and minor cleanup.
...
original commit: 8a07889d08b111c5dfc2db4480bdcd07e978c924
2014-05-19 21:34:52 -07:00
Eric Dobson
da1f9e7ef8
Make dotted functions of the same bound correctly be inferred.
...
original commit: 7a82255c44384b0e00bf009d9e9bada2f49d35d8
2014-05-19 21:34:52 -07:00