Matthew Flatt
1712dfb7f5
fix make-gui-namespace from scheme/gui/base and racket/gui/base
...
so that the namespace starts with scheme/base or racket/base
respectively
2010-06-07 20:06:51 -04:00
Eli Barzilay
939af28a4c
Some random ".ss" -> ".rkt"s
2010-05-17 05:58:19 -04:00
Matthew Flatt
c1abea82ec
add local-require to racket/base
2010-05-11 12:31:28 -06:00
Matthew Flatt
43027a8d9b
switch printer to constructor+quote style
2010-05-06 10:33:42 -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
32d2a9c548
fix scheme/load and racket/load
2010-04-27 19:09:27 -06:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -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
a6694a08b7
fix make-base-namespace in scheme/base (PR 10870)
2010-04-26 06:47:02 -06:00
Matthew Flatt
845ebfbeb8
hash, hasheq, hasheqv, and hash-equal?
2010-04-23 12:18:42 -06:00
Matthew Flatt
c7e723eef7
somewhat rackety core docs
2010-04-22 15:10:25 -06:00
Matthew Flatt
82eb64451d
switch default configuration to have qq printing enabled, add runtime-config for scheme languages
2010-04-22 15:10:25 -06:00
Matthew Flatt
d7e4db3efd
fix some tests and docs after racket move
2010-04-20 17:28:07 -06:00
Matthew Flatt
c95a398754
move most of the 'scheme' collection to the 'racket' collection
2010-04-20 15:24:48 -06:00
Matthew Flatt
9ca5f6b340
fix regexp-replace*
2010-04-16 17:27:53 -04:00
Robby Findler
bcbdcc2eaf
added the #:generator argument to the contract property maker
2010-04-15 23:29:39 -04:00
Matthew Flatt
249a9e38f7
minor regexp clean-ups
2010-04-15 10:10:19 -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
Carl Eastlund
d03aed44fd
* unstable/srcloc.ss
...
Added `update-source-location', which provides keyword-based functional update
for source location representations.
Removed automatic collection-relative printing for source locations.
* unstable/location.ss
Made `quote-srcloc' and its related forms all automatically use source locations
relative to collections and/or planet, where appropriate, and to compute
source locations dynamically if they cannot be made relative.
Removed #:module-source argument from `quote-srcloc'.
Changed `quote-module-path' and `quote-module-name' to use source file name
extensions.
Removed `quote-module-source'. I'm not sure what the use case is for
generating a resolved module path that doesn't correspond to a real module.
* unstable/dirs.ss
Implemented `path->directory-relative-string' for rendering a path to a string
that is relative to one of a list of given directories, with associated
abbreviations for each.
* unstable/scribblings/unstable.scrbl
* unstable/scribblings/srcloc.scrbl
* unstable/scribblings/dirs.scrbl
Documented the above changes.
* scheme/contract/private/provide.ss
* scheme/contract/private/base.ss
Changed contract forms to always blame a module path where appropriate.
Removed use of #:module-source option for `quote-srcloc'.
* setup/private/path-utils.ss
Updated `path->name' to use more general `path->directory-relative-string'.
svn: r18816
2010-04-14 17:49:29 +00: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
65d3d3240b
racket: keep old 'define-struct', include new form as 'struct'
...
svn: r18789
2010-04-11 21:08:37 +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
Eli Barzilay
90acb35315
optimize null and one-argument lists
...
svn: r18736
2010-04-06 15:26:15 +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
581cbb461b
Change `generator' to have a form of (generator () body ...). The empty
...
place will have initial input names, so having this first will make
existing code break with an easy to fix syntax error, rather than having
confusing failures. (Also made it throw a very clear error message if
there is no () now.)
svn: r18705
2010-04-01 07:45:41 +00:00
Matthew Flatt
25ede3dc50
fix reporting for some syntactic misuses of syntax-case
...
svn: r18662
2010-03-29 20:39:42 +00:00
Matthew Flatt
baab09fc1b
drop the uglier half of the Mac OS X thread-local variable hack; thread GC state through mark functions (to avoid overhead of thread-local accesses); fix some procedure-arity bugs and work toward fixing chaperones and some other procedure operations on keyword procedures
...
svn: r18661
2010-03-29 15:06:47 +00:00
Matthew Flatt
73807aef24
chaperones (v4.2.5.3)
...
svn: r18650
2010-03-28 01:10:33 +00:00
Stevie Strickland
290a73b56b
Check and unwrap instead of grabbing the property value, then using it to
...
unwrap.
svn: r18610
2010-03-24 21:32:32 +00:00
Eli Barzilay
40444fc087
Stupid $%^#*&!*ing typo. It has been in this code since the major code
...
reorganization that was included in v4.2.3. Cost me most of the night to
track down.
svn: r18592
2010-03-21 10:00:58 +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
Kevin Tew
dedb261ea8
[Places] place-channels are syncable events, place-channel-send/recv, #t and #f are now communicated
...
svn: r18578
2010-03-18 16:53:16 +00:00
Kevin Tew
e9693b7d9d
[Places] channels can send fixnums, strings, lists, and vectors
...
svn: r18576
2010-03-18 16:42:05 +00:00
Sam Tobin-Hochstadt
e1eb4a4b93
Fix bug in match reported by jay.
...
svn: r18563
2010-03-17 18:21:09 +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
5145638ac5
Since we're handling initialization and the result of this wrapper is a
...
real (sub)class, we need this to be #f.
svn: r18544
2010-03-15 09:19:50 +00:00
Stevie Strickland
924842d9e9
* Fix inits so that we either call the previous class/c wrapper's init
...
or let continue-make-super take control if we were the first wrapper
* Fix up handling of init/contract sorting so that things are performed
at the right phase (at least if we're going to treat names as symbols).
* Fix up new tests so that all contract layers are tested.
svn: r18540
2010-03-15 08:29:22 +00:00
Stevie Strickland
7ec061cdbf
* Factor out zipping of inits/contracts of the init closure
...
* Add tests for higher-order behavior
svn: r18538
2010-03-15 07:37:25 +00:00
Stevie Strickland
f9e404afbc
* Fix bug in #:name for init contracts
...
* Apply appropriate projections to init arguments.
svn: r18537
2010-03-15 07:25:54 +00:00
Stevie Strickland
2f9717ca72
Start on the init function. First step -- just replace it if we have init
...
contracts, but don't add any checking (yet).
svn: r18536
2010-03-15 07:05:31 +00:00
Stevie Strickland
9640ea4e2c
Sort the init contract forms.
...
svn: r18535
2010-03-15 07:03:54 +00:00
Stevie Strickland
1bd29dd7e9
Okay, we're going to add back init contracts, which I'd somewhat done before.
...
In this version, we're not going to have any reasonable first-order checks as
to whether or not the class actually accepts the initialization arguments that
are being contracted. I'm also just going to handle by-name at first, since
that's all I originally discussed in the paper.
svn: r18534
2010-03-15 06:49:49 +00:00
Sam Tobin-Hochstadt
3edf8cdac6
Fix `match-lambda**'. Patch from Madoka Machitani.
...
svn: r18525
2010-03-12 14:16:43 +00:00
Stevie Strickland
40b35a2b73
Now that we have a way of marking procedures as methods at runtime,
...
fix up all projection applications and uncomment out the tests for
appropriate method arity errors.
svn: r18504
2010-03-10 04:07:00 +00:00