Commit Graph

1211 Commits

Author SHA1 Message Date
Stevie Strickland
a4087991e3 Convert vectorof/vector-immutableof to the new regime.
Also add old-style vectorof to mzlib/contract.

original commit: 3028f2d1424123d076a95572a7564b8fb069a86e
2010-09-16 15:04:41 -04:00
Stevie Strickland
d41ec9e051 Separate out vector-related contract combinators into a new file.
original commit: c8737d5615db678b93784794ec6f55109b9d46d5
2010-09-16 15:04:41 -04:00
Stevie Strickland
7271481c49 Now change box/c to use proxies or chaperones appropriately.
Create a mzlib/contract compatible version of the old box/c and use that
for mzlib/contract.  Change the docs so that the docs for mzlib/contract
contain the right information.

Fix the typed-scheme implementation to only force flat box (or hash)
contracts when it already is required to be flat.  Otherwise, allow
non-flat contracts for the element contract (or domain/range contracts).

original commit: 994ad6d10fc817a5ceca2f9f4874dac5c14c0aab
2010-09-15 16:57:17 -04:00
Stevie Strickland
71d6d2f101 Initially just move the box-related combinators to a new location.
original commit: b8fb6dae9a54d89389ebf282f4f15011dbef36b0
2010-09-15 16:53:18 -04:00
Stevie Strickland
561af43eda Separate out hash/c code into a separate module.
original commit: f5b62ececdef53f18bde3ab140351f10313f94a2
2010-09-15 11:22:57 -04:00
Eli Barzilay
cffcd4f2d7 * Use #lang & reformat
* Remove no longer relevant references to `macos'
* Fix some type errors (that weren't reachable)
* Make streamify-* always return the thread (`get-thread?' was always #t)

original commit: a69d7c00c138b2efd8e298e1cc4e060917672a8c
2010-09-13 01:56:50 -04:00
Eli Barzilay
cd4dbaad6a More "~n" -> "\n" changes
original commit: 8e0f8dd39c3744472b450021f003f9cbe8cbcb62
2010-08-26 12:11:00 -04:00
Eli Barzilay
bfeb87cacd Lots of "~e" to "~.s" changes.
original commit: 606b7f60dc597a6870efc11364e1dd3e1a8b4a1b
2010-08-25 17:17:01 -04:00
Robby Findler
8258184a9a added contract-struct (like define-contract-struct, but with a
maker whose name does not begin with 'make-')

original commit: 367779fd27ba98422d288dd3b0c0db70f31bb4ca
2010-08-10 22:20:33 -05:00
Matthew Flatt
546e09e0d9 add collection-file-path and splace collection trees at the file level
original commit: 5f1aa418f30f4df086c85ed18dfc5395468b1638
2010-07-25 11:01:09 -05:00
Ryan Culpepper
b9de711d8a Added uses of internal-definition-context-apply from unstable/syntax
original commit: 79a06deb79fd0cdb5864543e6154502d8404a84e
2010-07-13 12:07:48 -06:00
Sam Tobin-Hochstadt
f163787145 Update `trace' docs.
- Move trace implementation to racket/trace.
- Move documentation to new Debugging section in Reference.
- Add example.

original commit: 12f30cf4782d6baa4707f05f95c9e19021685d66
2010-06-27 19:17:04 -04:00
Matthew Flatt
7ad10fe4d0 improve expansion of some unit forms to limit expansion size
Merge to 5.0

original commit: c3fdf47cc7052a617913f45153f6b75fbe1ce6da
2010-06-03 11:07:44 -06:00
Jay McCarthy
6e7dd7db19 Fixing an innoculous test case failure I introduced, by override the platform's time zone.
Relaxing the contract on date->string to accord with previous documentation.

Changing web-server example to use more restrictive contract

Please include in 5.0

original commit: 50fd0278bae0fd18a016e5c0dde63513c2cff088
2010-05-25 06:54:28 -06:00
Jay McCarthy
12a888f33d Adding date->seconds
original commit: 1b6b721aee3bd26c9fcb2cf985815f584e2b20a0
2010-05-24 14:25:35 -06:00
Jay McCarthy
4d0091213c Adding current-date
original commit: 009ae0588ecb4387b73dfe6d807c7b5a4e27e243
2010-05-24 14:23:53 -06:00
Jay McCarthy
1f7868ea09 Using modern style a little
original commit: 991e2a4064b48402dc272f5cad40be50c560fd08
2010-05-24 14:23:52 -06:00
Jay McCarthy
e2aeb764f6 Converting to racket and with contracts
original commit: 581458f0be2d6adf04933b00515643c6e383087a
2010-05-24 14:23:52 -06:00
Matthew Flatt
d86a6b48f5 Fix `at-exp' syntax colorer to handle non-text input
- added 'special-filter-input-port' to `racker/port'
 Merge to v5.0

original commit: e4aab3465684717eca0d6e7c6f70bc11e7a2ef8e
2010-05-21 19:40:32 -06:00
Eli Barzilay
72c3254caf Use "main.rkt" instead of "main.ss" in constructed path
original commit: 41ea7311f3e85e9455cc309c689d1b79cf5d9bd4
2010-05-17 09:55:48 -04:00
Eli Barzilay
bc4b4c6168 Some random ".ss" -> ".rkt"s
original commit: 939af28a4c94c283f46eb121574e4131f12cba53
2010-05-17 05:58:19 -04:00
Eli Barzilay
d1e2ad29b7 A lot of "plt-scheme.org" -> "racket-lang.org"s.
original commit: a46743211b75cfc1fc8aa66f8bc9934fcdc2be38
2010-05-17 00:53:12 -04:00
Eli Barzilay
3776c0067b A lot of "MrEd" -> "GRacket"s.
original commit: 7f6efdc8beea4b81af31807f9788197c24d0d63e
2010-05-16 23:46:05 -04:00
Eli Barzilay
eff0b85b6a A lot of "MzScheme" -> "Racket"s.
original commit: 2d9601089d1d127374238fdbe41a344ca88ca52f
2010-05-16 18:26:26 -04:00
Sam Tobin-Hochstadt
6807d90add Add `racket/block'
original commit: 3965eab9c88806ed2034bdf38fefcb410b5f1a6d
2010-05-11 12:01:15 -04:00
Matthew Flatt
b7928f0fa1 rename all files .ss -> .rkt
original commit: 28b404307793f041bb3363135a2968e283855318
2010-04-27 16:50:15 -06:00
Matthew Flatt
a4948a39a4 change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc.
original commit: 616080c7c4bc10f3f758a198c6e94c394e051038
2010-04-25 12:10:36 -06:00
Matthew Flatt
e0799c3d05 fix some tests and docs after racket move
original commit: d7e4db3efd8454d4f114fb28e8a136608f47b776
2010-04-20 17:28:07 -06:00
Matthew Flatt
7b544af2a5 move most of the 'scheme' collection to the 'racket' collection
original commit: c95a39875453e7f057395a7bf626e5d2ed732e7e
2010-04-20 15:24:48 -06:00
Matthew Flatt
b2b3c44aa4 add define-values-for-export to scheme/unit; sort out different unit-signature 'struct' forms for mzlib vs. scheme vs. racket
svn: r18792

original commit: b4aa4d4afb76d2ab57a2fa8ca0ad5ad3173e466a
2010-04-12 13:54:40 +00:00
Matthew Flatt
07e1c1fda1 racket: keep old 'define-struct', include new form as 'struct'
svn: r18789

original commit: 65d3d3240b647685f446f89d86b907f2bcc73b64
2010-04-11 21:08:37 +00:00
Matthew Flatt
23736d15be module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
svn: r18788

original commit: bdb71498e3ed816d44c9faf830f97fbe9fdaa3f2
2010-04-11 16:55:18 +00:00
Stevie Strickland
d889d9de71 Refactor out new has-contract?/value-contract functionality so that it's
the responsibility of the (higher-order) contract to add the contract
(plus possibly more in the future) to the wrapped value.

svn: r18469

original commit: bf60da75e179c2b2ecd9c09f0f7aadda629d95b5
2010-03-04 21:10:44 +00:00
Stevie Strickland
2b7121ca81 Maintain source locations appropriately.
svn: r18422

original commit: f37f81cdb29924555c894164ff482b3619a90af8
2010-03-01 23:47:31 +00:00
Stevie Strickland
e71ae6b7b9 scheme/contract => scheme/contract/base
svn: r18371

original commit: e54f1c3a5e651dda265cf82268ea7aec8a8c0cbe
2010-02-27 01:03:55 +00:00
Stevie Strickland
28bbf99b88 Of course, it would help if this was correct.
svn: r18289

original commit: 70b5fe6294cef704e00d642f8087d4249499155d
2010-02-23 04:18:29 +00:00
Stevie Strickland
a862db4fc1 Remove a load of crap from mzlib's object-contract that's no longer needed.
svn: r18287

original commit: e9a6aa31ca10b81701893fb69f45657765310b59
2010-02-23 04:03:39 +00:00
Carl Eastlund
4941995808 Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
svn: r18259

original commit: 1d6111c5328dc9b9ecfc14832879a7c47717d7a3
2010-02-22 02:51:16 +00:00
Robby Findler
7959381ae0 updated pconvert to use the new arguments to make-hash and friends
svn: r18128

original commit: 66e329c21b8e817959f2704668ed77dcbca47dfb
2010-02-17 21:20:39 +00:00
Eli Barzilay
5e4a8a814b A bunch of additional typos
svn: r17976

original commit: c88a5a685674ea70991a97f35972bd5144483e7a
2010-02-05 03:21:52 +00:00
Carl Eastlund
ae2dbe30b1 Replaced #%variable-reference with quote-module-path for unit contract blame.
svn: r17781

original commit: d00e3432d960ea24ea6b25f34bbedd2002ba4041
2010-01-23 18:31:10 +00:00
Carl Eastlund
02ce7aabdb Replaced uses of quote-srcloc with quote-syntax.
svn: r17757

original commit: 7f58c26709c9a97623f50ec812727daa080b155b
2010-01-19 23:25:07 +00:00
Carl Eastlund
e600445407 Fixed an expected contract message.
svn: r17749

original commit: 934c775c2546157a2eae5e50d89466344fd7e19e
2010-01-19 09:25:02 +00:00
Carl Eastlund
6e6139e8ae Fixed a missing blame swap.
svn: r17748

original commit: ad9968493ec76a2b3fc803f58b43f519c47d5c6f
2010-01-19 09:24:48 +00:00
Carl Eastlund
ff9748dd99 Fixed missing keyword to simple-contract.
svn: r17740

original commit: 2633965c91cf9e94c11b2343d66a633bb2d5270f
2010-01-19 06:29:43 +00:00
Carl Eastlund
76fba4d47e Updated quote-syntax to quote-srcloc in mzlib unit contracts.
svn: r17735

original commit: 5606c590bd78a12c057b62ef43e496a76b0581c5
2010-01-19 04:57:33 +00:00
Carl Eastlund
9747444199 Ported more code to new contract tools.
svn: r17733

original commit: 722fae41a8e5e74a053336ab6e5bc32f3487870d
2010-01-19 03:42:45 +00:00
Carl Eastlund
6e0495d778 Ported more code to use new contract bindings.
svn: r17727

original commit: 2bad47fd0fff59cde30406af4db42e6e65ffa899
2010-01-19 01:01:28 +00:00
Carl Eastlund
62f745be71 Ported mzlib units to new contract system.
svn: r17718

original commit: 7763a4079ad4db29c3c42d7278e779e6ff604f90
2010-01-18 18:26:02 +00:00
Carl Eastlund
f56868d873 Typos and type errors in new property stuff.
svn: r17700

original commit: bb7bd9de51f01b2620a8162da5de0bfffd645247
2010-01-17 07:23:47 +00:00