Commit Graph

1110 Commits

Author SHA1 Message Date
Matthew Flatt
04fa6c6acd add `subprocess-group-enabled' for process-group support
and fix problems with places and subprocesses
 and fix some mzrt thread setup and teardown issues
2010-07-05 17:51:26 -06:00
Matthew Flatt
5c2ae50e45 add current-subprocess-custodian-mode 2010-07-04 12:42:25 -06:00
Matthew Flatt
fb730cb1c2 custodian box as synchronizable event 2010-07-04 10:42:38 -06:00
Matthew Flatt
39f57b23c4 clarify note on shell process creation 2010-07-04 09:53:12 -06:00
Robby Findler
f83784452e made ->d's optional argument spec itself optional 2010-07-02 20:52:48 -05:00
Matthew Flatt
439bc0a293 add flreal-part', flimag-part', `make-flrectangular', and unsafe variants 2010-07-02 16:08:15 -06:00
Matthew Flatt
491ab3c12b expose internal display/write/print-limiting functionality via `printf'
addition of ~.
2010-07-02 16:08:14 -06:00
Matthew Flatt
e1112b45cd fix typos 2010-07-02 16:08:14 -06:00
Matthew Flatt
3de7dbd2fd add chaperone-evt 2010-07-01 14:59:01 -06:00
Matthew Flatt
47eb8ea815 add `identifier-prune-to-source-module' and use it in contract implementation
reduces DrRacket's initial footprint by 20-25% --- back to the v5.0 level
2010-06-30 10:40:03 -06:00
Matthew Flatt
47c7c1a27b JIT support for inexact->exact', add unsafe-fl->fx', etc. 2010-06-28 15:57:49 -06:00
Jon Rafkind
ccac23d648 show example of nested syntax matching 2010-06-28 14:33:00 -06:00
Jon Rafkind
6d3b976375 add note about racket/base being faster than racket 2010-06-28 14:04:48 -06:00
Sam Tobin-Hochstadt
12f30cf478 Update `trace' docs.
- Move trace implementation to racket/trace.
- Move documentation to new Debugging section in Reference.
- Add example.
2010-06-27 19:17:04 -04:00
Matthew Flatt
dc99e1992c restore support for sub-matches in `regexp-replace*' 2010-06-26 18:23:54 -06:00
Vincent St-Amour
a6c75db94f Fixed typos in the numbers reference. 2010-06-25 18:01:41 -04:00
Vincent St-Amour
674046f39d Fixed a mistake in the byte-string reference. 2010-06-17 18:45:28 -04:00
Matthew Flatt
d6d5c914f7 cases when number functions produce 0: clarify docs and fix (atan 0 x)
for positive exact x;
 also clarify docs on some cases when divide-by-zero exception is raised
2010-06-11 15:04:24 -06:00
Robby Findler
0126324f41 documented contract-stronger? 2010-06-06 14:57:11 -05:00
Sam Tobin-Hochstadt
47218dcb16 Fix typo. Closes PR 10958. 2010-06-04 14:15:50 -04:00
Matthew Flatt
88a06c724c revise examples for bound-identifier=? and free-identifier=? 2010-06-03 17:41:08 -06:00
Matthew Flatt
32297601b6 use simple-form-path more consistently for path normalization
--- a reversal of opinion from my earlier commit; the problem
 with syntactic simplification is that it may not refer to the
 same file, due to soft links; given that true normalization is
 impossible, simplify-path and simple-form-path provide a good
 compromise between preserving paths as given and exanding
 soft links as neede
2010-06-03 17:23:14 -06:00
Jon Rafkind
53cfb15e5c add example for free-identifier=? and bound-identifier=? (from the r6rs docs) 2010-06-03 16:27:55 -06:00
David Van Horn
22e2f3061f Various typo, spelling, and punctuation fixes in scribblings.
Signed-off-by: David Van Horn <dvanhorn@ccs.neu.edu>
2010-05-28 14:47:54 -06:00
Matthew Flatt
c8de3b5d1e change `pretty-print' to accept a qq-depth argument
makes it more consistent with `print'
 fixes the htdp/bsl, etc. languages, which install a global print
  handler
 Merge to v5.0
2010-05-27 20:22:44 -06:00
Jay McCarthy
7e485b8d28 Documenting make-hasheqv and using it 2010-05-27 12:35:30 -06:00
Vincent St-Amour
c11a88f888 Added some indexes to the reference to make open-output-nowhere easier
to find.
2010-05-25 17:30:54 -04:00
Matthew Flatt
97d078a156 adjust `pretty-printing' parameter for single-line printing
make it #f in that case, as opposed to printing in multi-line
 mode when the content doesn't fit on a single line
2010-05-24 15:15:45 -06:00
Jay McCarthy
1b6b721aee Adding date->seconds 2010-05-24 14:25:35 -06:00
Jay McCarthy
009ae0588e Adding current-date 2010-05-24 14:23:53 -06:00
Matthew Flatt
0b8a664d78 fix minor doc bugs 2010-05-24 10:03:37 -06:00
Matthew Flatt
c3f5aed473 fix docs for in-directory to specific default argument value
Merge to v5.0
2010-05-24 10:03:36 -06:00
Jose Antonio Ortega Ruiz
92bbe52da0 Fixes for trivial typos in Reference sec. 1.1. 2010-05-23 23:10:36 -04:00
Matthew Flatt
e4aab34656 Fix `at-exp' syntax colorer to handle non-text input
- added 'special-filter-input-port' to `racker/port'
 Merge to v5.0
2010-05-21 19:40:32 -06:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Eli Barzilay
12211fff72 Various lazy-related fixes etc.
* A long-standing bug, which happened with
    (let ([x (lazy (delay 1))]) (force x) (force x))
  not being properly handled.

* Added `delay/strict', mostly for the below.

* Made srfi/45 reprovide it as `eager'.

* Also restricted the exports from srfi/45 to its interface.

All of these issues were reported by Andreas Rottmann.
2010-05-21 15:12:16 -04:00
Matthew Flatt
70089070c7 clarify that 'exec-file is not necessarily an absolute path 2010-05-20 12:02:01 -06:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Matthew Flatt
1873a6f14d fix typo 2010-05-16 07:30:43 -06:00
Matthew Flatt
900784c8e4 fix regexp sub-pattern reporting 2010-05-15 08:36:11 -06:00
Matthew Flatt
aa9a8549ad finish Guide chaper on defining languages 2010-05-14 13:34:23 -06:00
Matthew Flatt
8752e65bf8 disable check on a module's source name 2010-05-14 11:33:09 -06:00
Matthew Flatt
88fd429eaf initial cut at language-creation chaper in guide: reader extension 2010-05-14 11:33:08 -06:00
Matthew Flatt
c1abea82ec add local-require to racket/base 2010-05-11 12:31:28 -06:00
Sam Tobin-Hochstadt
c22735ea49 `block' doesn't have this limitation 2010-05-11 12:01:15 -04:00
Sam Tobin-Hochstadt
3965eab9c8 Add `racket/block' 2010-05-11 12:01:15 -04:00
Matthew Flatt
5b76acb4ae add racket/system to racket 2010-05-11 07:06:07 -06:00
Matthew Flatt
50e923b199 add 'eprintf' and 'displayln' 2010-05-11 06:38:34 -06:00
Matthew Flatt
acb98cef60 allow paths as input to regexp-matching functions 2010-05-11 06:03:39 -06:00
Matthew Flatt
5f2ef77c14 fix reference typo 2010-05-10 20:40:51 -06:00
Matthew Flatt
899e85f94f change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
Matthew Flatt
f24d66f02f improve docs on printer modes 2010-05-09 07:05:20 -06:00
Matthew Flatt
1a5e662433 doc corrections and completions 2010-05-08 11:46:14 -06:00
Matthew Flatt
e5a259bdf0 document latest printing convention 2010-05-06 18:01:21 -06:00
Matthew Flatt
43027a8d9b switch printer to constructor+quote style 2010-05-06 10:33:42 -06:00
Matthew Flatt
27cd77c16c fix problem with chaperone of chaperoned hash 2010-05-05 09:23:40 -06:00
Matthew Flatt
60446bcd95 fix racket/vector test and doc typo 2010-05-05 06:18:52 -06:00
Matthew Flatt
bf5967f30b adjust (provide/contract (struct ....)) to work with new constructor-name convention 2010-05-04 18:25:11 -06:00
Matthew Flatt
8af4134991 move result-chaperoning procedure to start of chaperioning procedure's results 2010-05-04 13:56:21 -06:00
Matthew Flatt
a097b2ef6a fix chaperone-hash to be more consistent with key handling 2010-05-03 17:59:54 -06:00
Matthew Flatt
fae14aed03 doc repairs 2010-05-03 17:59:54 -06:00
Sam Tobin-Hochstadt
14d1a394f1 remove section so that docs render properly 2010-05-03 17:42:27 -04:00
Sam Tobin-Hochstadt
b752370a57 use @racket instead of @scheme in vector docs 2010-05-03 17:13:14 -04:00
Sam Tobin-Hochstadt
46828541a5 docs for vector-member etc 2010-05-03 17:11:55 -04:00
Matthew Flatt
166b92f9c8 replace mzc and setup-plt docs with raco doc (which refers to the still-separate planet doc) 2010-05-02 11:04:48 -06:00
Matthew Flatt
e504acb726 use .rktl suffix for files meant to be 'load'ed 2010-05-01 09:58:16 -06:00
Matthew Flatt
cb5c83c5a7 add custom-print to printable<%>; redirect printable<%> to writable and pretty-print to pretty-write in 'scheme' 2010-05-01 08:43:20 -06:00
Matthew Flatt
835ebc0785 add in-directory 2010-05-01 08:29:53 -06:00
Jay McCarthy
f3305dc6eb Fixing doc contract 2010-04-30 11:58:58 -06:00
Matthew Flatt
783e309b4d add serializable-struct 2010-04-30 08:02:56 -06:00
Matthew Flatt
2c54268228 move pref file to .rtkd extension, and automatically read from the old PLT Scheme path if the new one doesn't exist 2010-04-28 07:24:39 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
1fedf04739 partly rackety guide 2010-04-27 14:09:51 -06:00
Matthew Flatt
737b6fac01 rackety reference; any lingering reference to racket as scheme is a doc bug 2010-04-27 08:20:16 -06:00
Matthew Flatt
b7c184632b racket/unsafe/ffi -> ffi/unsafe, etc. 2010-04-26 18:05:29 -06:00
Matthew Flatt
e6e06bb1a3 remove racket/nest, since 'nest' didn't catch on 2010-04-26 15:41:39 -06:00
Matthew Flatt
dbc4ea6e82 racketify reference more 2010-04-26 14:42:33 -06:00
Matthew Flatt
616080c7c4 change 'define-struct' to bind the type name as a constructor, add an #:extra-constructor-name option, etc. 2010-04-25 12:10:36 -06:00
Matthew Flatt
f60c178964 change defstruct rendering 2010-04-24 08:29:45 -06:00
Matthew Flatt
b0deb8affb more doc and scribble repairs 2010-04-24 07:18:11 -06:00
Matthew Flatt
76754c5443 set-subset? to subset? 2010-04-24 07:18:11 -06:00
Matthew Flatt
7cb13860ee reference racket conversions and scribble qq repairs 2010-04-23 17:00:53 -06:00
Matthew Flatt
d824fef4f7 add set-subset? 2010-04-23 17:00:51 -06:00
Matthew Flatt
845ebfbeb8 hash, hasheq, hasheqv, and hash-equal? 2010-04-23 12:18:42 -06:00
Matthew Flatt
ab7f9acee2 add for/set 2010-04-23 08:26:20 -06:00
Matthew Flatt
0fe701a837 add for/hasheqv for completeness 2010-04-23 08:19:21 -06:00
Matthew Flatt
909f43f9a2 work on racketing reference 2010-04-22 20:18:53 -06:00
Matthew Flatt
c7e723eef7 somewhat rackety core docs 2010-04-22 15:10:25 -06:00
Matthew Flatt
c95a398754 move most of the 'scheme' collection to the 'racket' collection 2010-04-20 15:24:48 -06:00
Robby Findler
bcbdcc2eaf added the #:generator argument to the contract property maker 2010-04-15 23:29:39 -04:00
Matthew Flatt
4bc155905a Perl-like handling of empty matches in regexp-match*, etc., though without Perl-like filtering of empty strings in the result of regexp-split (PR 10855) 2010-04-14 22:53:14 -04:00
Matthew Flatt
1c34ccec44 improve regexp support (PR 10855, halfway) 2010-04-14 18:40:08 -04:00
Matthew Flatt
536fcacc42 more module source versus module path adjustments, especially for contracts
svn: r18809
2010-04-13 17:12:51 +00:00
Matthew Flatt
ce2d286586 add current-module-declare-source, variable-reference->module-source, convert soe sues of module paths to module sources
svn: r18804
2010-04-13 02:48:40 +00:00
Matthew Flatt
b4aa4d4afb add define-values-for-export to scheme/unit; sort out different unit-signature 'struct' forms for mzlib vs. scheme vs. racket
svn: r18792
2010-04-12 13:54:40 +00:00
Matthew Flatt
bdb71498e3 module paths normalize to .rkt, load handler converts .rkt back to .ss if necessary
svn: r18788
2010-04-11 16:55:18 +00:00
Matthew Flatt
1a9b89f5ba more mutable pair clarifications
svn: r18780
2010-04-10 14:22:18 +00:00
Matthew Flatt
0f9cac182d improve docs to calrify that mutable pairs are not pairs
svn: r18779
2010-04-10 14:13:41 +00:00
Matthew Flatt
1621091fc1 add 'current-read-interaction' parameter
svn: r18769
2010-04-09 13:22:57 +00:00
Matthew Flatt
bebf513aa7 change 'configure-runtime to produce a list of module-spcifying vectors instead of a single vector
svn: r18763
2010-04-08 19:11:50 +00:00
Matthew Flatt
abebb1c1f4 fix problem with per-registry locking of available-module visit & instantiation
svn: r18744
2010-04-07 12:34:50 +00:00
Matthew Flatt
c5ac9f23ec better compiler handling of unused local bindings where the RHS either doesn't obviously produce a single value or is discovered to be unused late in bytecode compilation; initial Scribble support for printing qq-style results
svn: r18737
2010-04-06 15:52:36 +00:00
Matthew Flatt
fdba97b1c0 rico
svn: r18733
2010-04-04 15:08:35 +00:00
Matthew Flatt
3cc95b31ef add prop:struct-info
svn: r18730
2010-04-03 13:08:39 +00:00
Matthew Flatt
2cb9f378aa Racket experiments
svn: r18725
2010-04-02 21:29:59 +00:00
Matthew Flatt
b2d65a1b95 fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations
svn: r18711
2010-04-01 13:14:50 +00:00
Eli Barzilay
853db0ae55 forgot examples
svn: r18709
2010-04-01 08:27:15 +00:00
Eli Barzilay
05fca5df14 Documented () thing
svn: r18706
2010-04-01 07:46:01 +00:00
Robby Findler
62fb1bed65 svn: r18682 2010-03-30 22:30:37 +00:00
Matthew Flatt
164e998cbd fix syntax-case docs on how the exception is raised
svn: r18679
2010-03-30 21:33:59 +00:00
Matthew Flatt
b8c3112b98 fix chaperones on parameters
svn: r18654
2010-03-28 15:56:04 +00:00
Matthew Flatt
73807aef24 chaperones (v4.2.5.3)
svn: r18650
2010-03-28 01:10:33 +00:00
Noel Welsh
7c55242179 Add the full suite of fl and unsafe-fl operations to Typed Scheme
Correct an error in documentation of flmin and flmax -- they were documented as taking a single argument when in fact they take two.

svn: r18604
2010-03-23 12:24:50 +00:00
Stevie Strickland
dde2011ec7 Add ->dm and case->m, which are the implicit method versions of ->d and
case->.

This should be included in the release.

svn: r18579
2010-03-18 21:28:41 +00:00
Carl Eastlund
d9b7609e1e Fixed splicing-syntax-parameterize to splice require and provide forms.
svn: r18551
2010-03-16 23:04:46 +00:00
Stevie Strickland
5a488ae7cb Add handling of by-name inits to commented-out class/c use in typed-scheme.
Also, fix class/c section of reference slightly by mentioning the role of
external contracts in class instantiation.

svn: r18542
2010-03-15 08:57:41 +00:00
Stevie Strickland
c7c8f7061e Add documentation, and also add tests for appropriate init-field behavior.
svn: r18541
2010-03-15 08:47:09 +00:00
Matthew Flatt
1af4bb9cfb fix problem with 'make-meta-reader' and passing a module path to the next reader in the chain
svn: r18511
2010-03-11 14:00:01 +00:00
Stevie Strickland
cd3499dea5 Initial cut at documentation.
svn: r18495
2010-03-09 23:22:35 +00:00
Stevie Strickland
bf60da75e1 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
2010-03-04 21:10:44 +00:00
Matthew Flatt
82af25486e one more doc fix for PR 10803
svn: r18463
2010-03-04 13:16:46 +00:00
Eli Barzilay
28948c723a typos (most of PR10803)
svn: r18462
2010-03-04 09:08:14 +00:00
Robby Findler
07f280419a added has-contract? and get-contract
svn: r18460
2010-03-04 03:58:33 +00:00
Stevie Strickland
5fe0a790c1 Change how contracts for multiple values are handled to be a little cleaner
syntactically.

svn: r18458
2010-03-04 00:04:07 +00:00
Stevie Strickland
f2788561d3 Add the ability to contract more than one value returned from a with-contract
block in expression position.

svn: r18456
2010-03-03 21:54:18 +00:00
Sam Tobin-Hochstadt
83cdaac011 Allow `path-up' to take multiple paths.
svn: r18415
2010-03-01 21:27:03 +00:00
Carl Eastlund
5165706529 Added an example for current-blame-format.
svn: r18413
2010-03-01 19:58:17 +00:00
Robby Findler
ce57869e4c PR 10791
svn: r18412
2010-03-01 19:28:45 +00:00
Robby Findler
eeb5a8df0a svn: r18404 2010-03-01 12:25:55 +00:00
Matthew Flatt
2d34378d46 add margin ref->guide cross-reference for futures
svn: r18402
2010-03-01 02:33:57 +00:00
Matthew Flatt
2ddfa89a7a add missing doc files
svn: r18401
2010-03-01 01:45:49 +00:00
Matthew Flatt
e71bd71035 enable futures by default on Mac OS X and Linux x86/x86_64; future docs to ref and guide
svn: r18396
2010-02-28 22:06:59 +00:00
Matthew Flatt
2caaf05ca6 doc addition and prose tweaks
svn: r18376
2010-02-27 03:40:15 +00:00
Stevie Strickland
0900b6c2e3 Fix use of defform*/subs.
svn: r18373
2010-02-27 01:18:17 +00:00
Stevie Strickland
7dacfaea85 Add with-contract for expression positions.
svn: r18372
2010-02-27 01:05:03 +00:00
Stevie Strickland
4b67d441e7 Forgot to document set-field!, which came in with cc-phase2.
svn: r18358
2010-02-26 20:04:26 +00:00
Carl Eastlund
8b93f081bc Renamed make-set{,eq,eqv} to set{,eq,eqv} for uniformity with list, vector, etc.
svn: r18338
2010-02-25 19:46:36 +00:00
Jon Rafkind
2f6c2377f9 fix remq example
svn: r18337
2010-02-25 17:14:58 +00:00
Stevie Strickland
88a6038705 Grab Matthew's addition of objscheme_unwrap so I can see about making
object contracts work even for primitive things.

svn: r18298
2010-02-23 14:10:34 +00:00
Carl Eastlund
1d6111c532 Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
svn: r18259
2010-02-22 02:51:16 +00:00
Stevie Strickland
a0769da5ea Add the contract shorthands for -> and ->* to use for methods where we don't
care about properties of this.

svn: r18248
2010-02-21 02:54:06 +00:00
Stevie Strickland
e72928d444 Yeah, I should add augride here.
svn: r18242
2010-02-21 00:26:58 +00:00
Stevie Strickland
c6e671581f Want to call this something more generic, as method contracts have specific
restrictions, but contracts on fields do not.

svn: r18241
2010-02-21 00:22:37 +00:00
Stevie Strickland
ffa34e1f7d Add augride, which is like augment but enables the contract writer to give
subclasses an idea of whether a method can be augmented (augment) or whether
a method augmentation can be overridden (augride).

svn: r18240
2010-02-21 00:17:42 +00:00
Stevie Strickland
5df617e4d4 Forgot to add this to the literals list.
svn: r18239
2010-02-20 23:45:55 +00:00
Stevie Strickland
d67058c1ac Document inherit.
svn: r18238
2010-02-20 22:58:21 +00:00
Stevie Strickland
6ae1a713df One more small edit.
svn: r18231
2010-02-20 21:06:59 +00:00
Stevie Strickland
50482d7016 Small fixes, go back to the original section title.
svn: r18230
2010-02-20 21:06:22 +00:00
Stevie Strickland
7e5e4a50fa Check in an initial cut of class/c documentation.
svn: r18229
2010-02-20 20:32:17 +00:00