Commit Graph

12387 Commits

Author SHA1 Message Date
Jay McCarthy
364e4ff3d5 The closure library was designed just for the Web language, which operates after expansion, so it never saw normal lambdas. The documentation, however, advertises it for general use and it disallowed keyword arguments. This fixes that problem.
svn: r17844
2010-01-26 21:59:22 +00:00
Eli Barzilay
024f635203 * Remember values in "install .plt" dialog
* Add "http://" prefix to a url if it looks like it's missing
* Focus on the text field when switching tabs

svn: r17843
2010-01-26 20:55:13 +00:00
Robby Findler
cba82db678 added in unix versions of the bitmap tests
svn: r17842
2010-01-26 20:28:57 +00:00
Robby Findler
bf451cbc0b fixed a problem John identified on the plt mailing list
svn: r17841
2010-01-26 20:24:25 +00:00
Matthew Flatt
f07c19b268 update benchmark harness
svn: r17840
2010-01-26 20:17:44 +00:00
Casey Klein
3068ae4bd5 This file should have been moved to tests instead of copied.
svn: r17839
2010-01-26 19:53:10 +00:00
Robby Findler
812a049b5b svn: r17838 2010-01-26 19:47:44 +00:00
Casey Klein
8fe66b9935 Somehow managed to copy the tests instead of moving them!
svn: r17837
2010-01-26 17:33:38 +00:00
Casey Klein
9c6fdd86c8 Moved tests into a separate directory. Changed run-tests.ss to suppress the diffs window when bitmap-test.ss fails, to avoid tripping up DrDr.
svn: r17836
2010-01-26 17:29:39 +00:00
Eli Barzilay
4cb01a48b3 only for programs
svn: r17835
2010-01-26 15:04:51 +00:00
Eli Barzilay
be9d5787b4 Welcome to a new PLT day.
svn: r17834
2010-01-26 08:50:05 +00:00
Jon Rafkind
794efa5ebb s/trigraph/ternary
svn: r17833
2010-01-26 00:25:45 +00:00
Jon Rafkind
9ee9280485 support commas in function calls
svn: r17832
2010-01-26 00:10:01 +00:00
Jon Rafkind
6f26a0ffeb add trigraph expression
svn: r17831
2010-01-25 23:21:26 +00:00
Robby Findler
f54ccdc9d5 probable fix to error seen in drdr
svn: r17827
2010-01-25 21:51:52 +00:00
Eli Barzilay
04725539c7 Propagate path to syntax source of evaluated files when applicable
Set `current-load-relative-directory' based on path when it names a directory.

svn: r17826
2010-01-25 21:02:15 +00:00
Sam Tobin-Hochstadt
8ccbe74e5e don't open url twice
svn: r17824
2010-01-25 20:00:32 +00:00
Sam Tobin-Hochstadt
af2ef07d05 Fix the handling of with-handlers that returns multiple values
svn: r17823
2010-01-25 19:51:16 +00:00
Sam Tobin-Hochstadt
c9b246a8d2 use syntax-parse
support #:predicate option to `define-typed-struct-internal'

svn: r17822
2010-01-25 19:35:56 +00:00
Jon Rafkind
9dccfcbe28 factor out common expressions for better performance. thanks to ryan
svn: r17821
2010-01-25 18:51:34 +00:00
Sam Tobin-Hochstadt
bb541fd03f Improve `internal-forms'
First step to custom predicates in `define-typed-struct-internal'

svn: r17820
2010-01-25 18:38:56 +00:00
Sam Tobin-Hochstadt
e493ba5c6a improve internal error messages
svn: r17819
2010-01-25 17:23:19 +00:00
Kevin Tew
7114cdf51e Inital places documentation
svn: r17818
2010-01-25 16:11:34 +00:00
Robby Findler
5f69c8ed4e now using redex check to generate random examples (and with more variety than before)
svn: r17816
2010-01-25 16:04:34 +00:00
Sam Tobin-Hochstadt
674e40a212 Re-enable unexpanded syntax printing. Merge to release.
svn: r17815
2010-01-25 15:44:48 +00:00
Sam Tobin-Hochstadt
2cd7fe5499 Simplify pattern for expressions in type env.
Attempt to avoid doing local-expansion repeatedly.

svn: r17812
2010-01-25 14:46:34 +00:00
Matthew Flatt
530a3eb5e8 change R5RS to allow splicing unquote at tail when expression is not a list; merge to 4.2.4
svn: r17811
2010-01-25 13:33:42 +00:00
Robby Findler
aee10699ae made the splash screen always be a dialog box
svn: r17810
2010-01-25 12:39:38 +00:00
Eli Barzilay
fee5ed923d Welcome to a new PLT day.
svn: r17809
2010-01-25 08:50:06 +00:00
Robby Findler
cf4294a280 changed the internal representation of normalized images so that crop structs do no have to be duplicated, improved test suites
svn: r17808
2010-01-24 20:22:58 +00:00
John Clements
bef818b2be test changes, goes in release 4.2.4
svn: r17806
2010-01-24 19:31:29 +00:00
John Clements
2098a19291 fixed dmda stepper bug: goes in 4.2.4 release
svn: r17805
2010-01-24 19:28:57 +00:00
John Clements
100fe8520d took bad require out
svn: r17803
2010-01-24 18:21:56 +00:00
Matthew Flatt
4ce8dfa7da fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4
svn: r17802
2010-01-24 15:30:16 +00:00
Casey Klein
bbc654c69e Typesetting now recognizes carets (^) in the underscore component of a
non-terminal reference, applying the non-terminal-superscript-style to
the text following the caret.

svn: r17801
2010-01-24 11:36:29 +00:00
Eli Barzilay
efc980768b Welcome to a new PLT day.
svn: r17797
2010-01-24 08:50:21 +00:00
John Clements
25cd6766fa test files, for release if it matters..
svn: r17795
2010-01-24 07:23:59 +00:00
John Clements
a18447e970 srfi 19 tests, not for release
svn: r17794
2010-01-24 07:23:09 +00:00
John Clements
ba18a93fa6 fixed bug involving certificates appearing in different places
svn: r17793
2010-01-24 07:01:25 +00:00
Robby Findler
c0cea48170 random testing found bugs (please include in release)
svn: r17792
2010-01-24 02:02:56 +00:00
Robby Findler
5f9a774880 fixed error message reporting bugs (merge to release branch)
svn: r17790
2010-01-23 23:07:34 +00:00
Carl Eastlund
a197b98706 Fixed permissive/c, which I had ported to the wrong kind of contract.
svn: r17787
2010-01-23 21:33:06 +00:00
Carl Eastlund
ae54797717 Fixed use of (contract ...) in web-server collects where I got arguments in wrong order.
svn: r17786
2010-01-23 21:06:29 +00:00
Robby Findler
3c1d7e9aca simple fix to deal with performance problem noticed by jpr (this is not a complete fix, but should work in the common case of lots of repeated place-image calls)
svn: r17783
2010-01-23 20:36:54 +00:00
Carl Eastlund
bd9b6e9e97 Made unit contract test regular expressions more robust.
svn: r17782
2010-01-23 18:31:32 +00:00
Carl Eastlund
d00e3432d9 Replaced #%variable-reference with quote-module-path for unit contract blame.
svn: r17781
2010-01-23 18:31:10 +00:00
Carl Eastlund
88aba214c9 Merged changes from trunk. No conflicts.
svn: r17780
2010-01-23 17:44:27 +00:00
Robby Findler
ebb815cc68 added a comment to describe all-string-snips
svn: r17778
2010-01-23 16:43:08 +00:00
Robby Findler
5dfed472c7 svn: r17777 2010-01-23 16:03:50 +00:00
Eli Barzilay
57868b0bc7 Welcome to a new PLT day.
svn: r17775
2010-01-23 08:50:40 +00:00
Jon Rafkind
bee5af120b add more operators
svn: r17773
2010-01-22 22:14:28 +00:00
Jon Rafkind
3e4221b410 cleanup
svn: r17771
2010-01-22 21:11:26 +00:00
Jon Rafkind
91e3bc001f use a macro for generating infix precedence table
svn: r17770
2010-01-22 19:55:02 +00:00
Eli Barzilay
b3b63bf25f Welcome to a new PLT day.
svn: r17769
2010-01-22 08:50:27 +00:00
Matthew Flatt
178777234d notes on improving 2htdp/universe
svn: r17766
2010-01-21 18:51:08 +00:00
John Clements
03368f8fc6 added index for unsafe context term
svn: r17764
2010-01-21 18:34:43 +00:00
Eli Barzilay
25fb4d9ac0 Welcome to a new PLT day.
svn: r17763
2010-01-21 08:50:36 +00:00
Jon Rafkind
21aab7e99c generalize infix operator definition
svn: r17762
2010-01-21 00:53:13 +00:00
Jon Rafkind
94f0edd8d2 parse + expressions
svn: r17761
2010-01-21 00:19:23 +00:00
Jon Rafkind
8f4853a3ae replace ; with semicolon
svn: r17760
2010-01-21 00:06:21 +00:00
Matthias Felleisen
6220900756 porting guide, please propagate to release
svn: r17759
2010-01-20 09:30:31 +00:00
Eli Barzilay
ef922d8e0d Welcome to a new PLT day.
svn: r17758
2010-01-20 08:50:24 +00:00
Carl Eastlund
7f58c26709 Replaced uses of quote-srcloc with quote-syntax.
svn: r17757
2010-01-19 23:25:07 +00:00
Ryan Culpepper
ef138249f4 syntax/parse: fixed bugs (thanks samth)
Please propagate this to the release branch.

svn: r17756
2010-01-19 21:03:51 +00:00
Carl Eastlund
87645ebd11 Updated typed scheme to use a module path for blame.
svn: r17754
2010-01-19 10:44:27 +00:00
Carl Eastlund
791178a549 Fixed printing of blame error messages to use display and write appropriately.
svn: r17753
2010-01-19 09:28:28 +00:00
Carl Eastlund
51983e3829 Fixed simple-contract stronger check.
svn: r17752
2010-01-19 09:28:08 +00:00
Carl Eastlund
6a0469b680 Fixed detection of printable contracts in dependent struct contracts.
svn: r17751
2010-01-19 09:27:51 +00:00
Carl Eastlund
ad7976079f Kept syntax-parse expr/c error message consistent with define/contract.
svn: r17750
2010-01-19 09:26:42 +00:00
Carl Eastlund
934c775c25 Fixed an expected contract message.
svn: r17749
2010-01-19 09:25:02 +00:00
Carl Eastlund
ad9968493e Fixed a missing blame swap.
svn: r17748
2010-01-19 09:24:48 +00:00
Carl Eastlund
6d8b3a2e84 Added customization for unknown srclocs to source-location->prefix/string
svn: r17747
2010-01-19 09:24:15 +00:00
Eli Barzilay
a86337375d Welcome to a new PLT day.
svn: r17746
2010-01-19 08:50:22 +00:00
Carl Eastlund
e5c74e7a25 Fixed bug I introduced when changing make-proj-contract to simple-contract.
svn: r17744
2010-01-19 07:33:03 +00:00
Carl Eastlund
9506494416 Fixed a shadowed name
svn: r17743
2010-01-19 07:28:06 +00:00
Carl Eastlund
35a716d5d3 Fixed blame detection regexp.
svn: r17742
2010-01-19 07:14:17 +00:00
Carl Eastlund
d01e61508f Fixed a blame assignment typo.
svn: r17741
2010-01-19 07:14:00 +00:00
Carl Eastlund
2633965c91 Fixed missing keyword to simple-contract.
svn: r17740
2010-01-19 06:29:43 +00:00
Carl Eastlund
9d7ca20eeb Replaced guilty-party with equivalent.
svn: r17739
2010-01-19 06:29:15 +00:00
Carl Eastlund
5d7774e7b2 Fixed test for procedure?, which now recognizes flat contracts, and typo for contract-projection.
svn: r17738
2010-01-19 05:59:47 +00:00
Carl Eastlund
888045dcf9 Replaced make-proj-contract with simple-contract in tests.
svn: r17737
2010-01-19 05:31:18 +00:00
Carl Eastlund
e94bef6938 Updated more contracts in the mzlib collection.
svn: r17736
2010-01-19 04:57:47 +00:00
Carl Eastlund
5606c590bd Updated quote-syntax to quote-srcloc in mzlib unit contracts.
svn: r17735
2010-01-19 04:57:33 +00:00
Carl Eastlund
4b739b5f62 Removed obsolete build-src-loc-string
svn: r17734
2010-01-19 03:43:00 +00:00
Carl Eastlund
722fae41a8 Ported more code to new contract tools.
svn: r17733
2010-01-19 03:42:45 +00:00
Carl Eastlund
3921e16aa1 Updated lingering use of old src-info format.
svn: r17732
2010-01-19 03:41:30 +00:00
Carl Eastlund
4de3ee3a9e Re-enabled 4-argument contract macro, and added more output to misuse messages.
svn: r17731
2010-01-19 03:41:03 +00:00
Carl Eastlund
2f2068356c Replaced mistaken #f with srcloc.
svn: r17730
2010-01-19 03:39:28 +00:00
Carl Eastlund
9fbf023d90 Took collection path simplification out of this file.
svn: r17729
2010-01-19 03:38:55 +00:00
Carl Eastlund
d57b5fff61 Made source-location->string shorten collection paths.
svn: r17728
2010-01-19 03:38:14 +00:00
Carl Eastlund
2bad47fd0f Ported more code to use new contract bindings.
svn: r17727
2010-01-19 01:01:28 +00:00
Carl Eastlund
a03454ec69 Replaced make-proj-contract in poly/c
svn: r17726
2010-01-19 00:21:43 +00:00
Carl Eastlund
9e540043bc Updated local-expand of contract forms in require/contract.
svn: r17725
2010-01-19 00:20:54 +00:00
Carl Eastlund
0edd786361 Removed more occurrences of old source info representation.
svn: r17724
2010-01-18 23:24:34 +00:00
Carl Eastlund
167c9cb1a8 Changed contract source locations to perform module resolution in advance.
svn: r17723
2010-01-18 23:11:12 +00:00
Carl Eastlund
f346bc7f1a Added a module for statically computing source locations and module paths.
svn: r17722
2010-01-18 23:10:10 +00:00
Carl Eastlund
54d5b0ac7f Updated predicate list in scheme/exists/lang based on contract library changes.
svn: r17721
2010-01-18 18:53:06 +00:00
Carl Eastlund
2a5f883a4c Updated contracts in XML collection.
svn: r17720
2010-01-18 18:49:39 +00:00
Carl Eastlund
6ac7fe78e6 Ported object contracts to new properties.
svn: r17719
2010-01-18 18:32:26 +00:00
Carl Eastlund
7763a4079a Ported mzlib units to new contract system.
svn: r17718
2010-01-18 18:26:02 +00:00
Carl Eastlund
1014dd2da4 Converted provide.ss to use new contract form and deference variable-reference.
svn: r17716
2010-01-18 17:05:06 +00:00
Carl Eastlund
124050d54e Converted current-contract-region to dereference variable-reference.
svn: r17715
2010-01-18 17:04:44 +00:00
Carl Eastlund
b0c93342d9 Fixed type error in source location conversion.
svn: r17714
2010-01-18 17:04:01 +00:00
Eli Barzilay
d8b7906fd5 f9 build moves to f12
svn: r17713
2010-01-18 06:11:51 +00:00
Robby Findler
ea92d688e8 work on the porting guide
svn: r17709
2010-01-18 02:01:30 +00:00
Carl Eastlund
4d22b7a5f4 Allowed path values in blame s-expressions.
svn: r17708
2010-01-17 18:50:55 +00:00
Carl Eastlund
4e3874a1c5 Moved path pretty-printing into blame module.
svn: r17707
2010-01-17 18:50:40 +00:00
Carl Eastlund
19873777e1 Set srcloc processing to use syntax-source-module if possible.
svn: r17706
2010-01-17 18:50:11 +00:00
Carl Eastlund
00d79083e3 Slight changes to new contract protocol.
svn: r17705
2010-01-17 18:35:19 +00:00
Carl Eastlund
b24b946155 Added explicit checks for saner contract protocol.
svn: r17704
2010-01-17 18:02:39 +00:00
Robby Findler
5af38568a5 removed my broken attempt to fix the test; this is (I believe) an actual bug in the library
svn: r17703
2010-01-17 13:53:44 +00:00
Eli Barzilay
01a05c2ddf Welcome to a new PLT day.
svn: r17701
2010-01-17 08:50:47 +00:00
Carl Eastlund
bb7bd9de51 Typos and type errors in new property stuff.
svn: r17700
2010-01-17 07:23:47 +00:00
Carl Eastlund
1f969b8831 Ported a lot of mzlib contracts to new properties.
svn: r17699
2010-01-17 07:07:06 +00:00
Carl Eastlund
e408fd464b Propagated guts exports through scheme/contract/base and scheme/contract.
svn: r17698
2010-01-17 06:18:13 +00:00
Carl Eastlund
7716e58f61 Ported basic-opters.ss to new properties.
svn: r17697
2010-01-17 06:12:59 +00:00
Carl Eastlund
336dd1b808 Ported ds.ss to new properties.
svn: r17696
2010-01-17 06:10:29 +00:00
Carl Eastlund
41bd96f6aa Made blame objects transparent to allow equal?
svn: r17695
2010-01-17 06:10:09 +00:00
Carl Eastlund
da89b2146f Reindented.
svn: r17694
2010-01-17 05:58:43 +00:00
Carl Eastlund
2ed1f852aa Ported misc.ss to new properties.
svn: r17693
2010-01-17 05:44:54 +00:00
Carl Eastlund
41565a3869 Ported exists.ss to new properties.
svn: r17692
2010-01-17 05:24:00 +00:00
Carl Eastlund
ee944b575a Ported base.ss to new properties.
svn: r17691
2010-01-17 05:18:49 +00:00
Carl Eastlund
42b3b8820b Added simplification of collects paths to blame error printing.
svn: r17690
2010-01-17 05:18:37 +00:00
Carl Eastlund
18e33c2ce1 Exported source->name function.
svn: r17689
2010-01-17 05:18:13 +00:00
Carl Eastlund
ed47b31635 Updated arrow.ss to new properties.
svn: r17688
2010-01-17 04:17:40 +00:00
Carl Eastlund
d10eea83e7 Ported opt-guts.ss and opt.ss to use new properties.
svn: r17687
2010-01-17 03:54:22 +00:00
Carl Eastlund
1d9b4a79b7 Reimplemented guts based on new properties.
svn: r17686
2010-01-17 03:36:56 +00:00
Carl Eastlund
05c4296eca Fixed evaluation order.
svn: r17685
2010-01-17 03:36:17 +00:00
Carl Eastlund
ff00fefb2d Core implementation of new contract datatypes.
svn: r17684
2010-01-17 02:54:55 +00:00
Robby Findler
a9597eeb8b fixed up the docs for the base shapes to reflect the new pen arguments; added a section about pixels
svn: r17683
2010-01-17 02:50:41 +00:00
Robby Findler
3046afea04 added an code to avoid a race
svn: r17682
2010-01-17 02:29:29 +00:00
Robby Findler
4189297063 added in missing require
svn: r17676
2010-01-16 20:06:27 +00:00
Robby Findler
7d34a9ecd5 fixed path problem
svn: r17675
2010-01-16 17:28:31 +00:00
Matthew Flatt
2dcfe69763 fix doc typo
svn: r17673
2010-01-16 14:23:16 +00:00
Eli Barzilay
8a190a4ab4 Welcome to a new PLT day.
svn: r17671
2010-01-16 08:50:45 +00:00
Robby Findler
ddf0b4ec01 added finer control over pens
svn: r17670
2010-01-16 02:03:54 +00:00
Jon Rafkind
b3d41faa68 parse function calls and definitions
svn: r17669
2010-01-15 21:44:56 +00:00
Ryan Culpepper
6eb51f9402 macro-stepper: yet another local-expansion fix
svn: r17668
2010-01-15 21:33:36 +00:00
Ryan Culpepper
9a2408f267 macro-debugger: fixed module & local-expansion bug
svn: r17666
2010-01-15 20:13:09 +00:00
Sam Tobin-Hochstadt
3fc133a0b8 Correct typing for `or'.
svn: r17665
2010-01-15 19:39:46 +00:00
Matthew Flatt
5f3b90943b JIT fast path for setting global/module variable; repair fix for PR 10693
svn: r17663
2010-01-15 14:02:57 +00:00
Eli Barzilay
59ba9df1c8 Welcome to a new PLT day.
svn: r17662
2010-01-15 08:50:52 +00:00
Sam Tobin-Hochstadt
5e1b355e32 Syntax for predicates with non-empty paths
svn: r17660
2010-01-14 23:17:56 +00:00
Sam Tobin-Hochstadt
d69c96cf06 update to the final version of this code
svn: r17658
2010-01-14 22:09:31 +00:00
Sam Tobin-Hochstadt
104adf9c62 Types for the other `check-expect'-style forms.
svn: r17657
2010-01-14 21:24:47 +00:00
Sam Tobin-Hochstadt
1ab2a41092 Paths for first' and rest'
svn: r17654
2010-01-14 20:00:37 +00:00
Sam Tobin-Hochstadt
33592b4f6c Typecheck `or' correctly.
svn: r17653
2010-01-14 19:53:28 +00:00
Robby Findler
902dfc17ae a few cleanups to the porting guide
svn: r17652
2010-01-14 18:39:23 +00:00
Matthias Felleisen
9a50b999e2 hack for 2:image added to make sure it displays completely
svn: r17650
2010-01-14 18:05:11 +00:00
Matthias Felleisen
be76ed2add fixed small bug in draw check; eliminated the 'equal' optimization
svn: r17649
2010-01-14 17:43:44 +00:00
Eli Barzilay
d65aa1ca83 Welcome to a new PLT day.
svn: r17647
2010-01-14 08:50:42 +00:00
Robby Findler
619cfa79d2 redid the image doc examples on the mac
svn: r17645
2010-01-14 01:26:07 +00:00
Robby Findler
246bd182df forgot to update part of the docs
svn: r17644
2010-01-14 01:20:50 +00:00
Robby Findler
96c717473a revised the coordinates for place-image and fixed up the docs a bit
svn: r17643
2010-01-14 01:15:31 +00:00
Ryan Culpepper
97135f112c macro-debugger: fixed bug re local-expansion and macro hiding
svn: r17642
2010-01-13 23:41:23 +00:00
Robby Findler
7fb9f51e62 tweaks to docs & example images
svn: r17640
2010-01-13 21:54:51 +00:00
Robby Findler
0eaa68c7c4 re-ran the image example generation on mac os x
svn: r17639
2010-01-13 21:46:49 +00:00
Robby Findler
fc8f84d616 fixed a bug I introduced
svn: r17638
2010-01-13 20:18:48 +00:00
Casey Klein
c8b8775805 Further clarified documentation
svn: r17636
2010-01-13 18:35:27 +00:00
Casey Klein
a47d38e15d Improved docs and error messages for define-metafunction/extension
svn: r17635
2010-01-13 18:21:27 +00:00
Robby Findler
8c9088a770 changed the overlaying functions so they default to putting the images overlay'd on their centers, not upper lefts
svn: r17632
2010-01-13 16:32:21 +00:00
Robby Findler
8838d90cd5 removed extra depenencies
svn: r17630
2010-01-13 15:12:46 +00:00
Matthew Flatt
70b3d5abcb fix r6rs library-body handling (PR 10693)
svn: r17628
2010-01-13 12:59:15 +00:00
Eli Barzilay
eb9e007048 Welcome to a new PLT day.
svn: r17626
2010-01-13 08:50:40 +00:00
John Clements
1a9e2c8df1 ormap docs didn't say what it returned (earlier fix fluffed, IIUC)
svn: r17624
2010-01-13 01:20:48 +00:00
Jay McCarthy
a1d7945958 PR10689
svn: r17621
2010-01-12 21:51:35 +00:00
Jon Rafkind
9c2ea4c1cf use syntax/parse for parsing honu forms
svn: r17620
2010-01-12 21:51:34 +00:00
Sam Tobin-Hochstadt
91629fd31a Reject some cases of nested types.
svn: r17619
2010-01-12 20:36:30 +00:00
Mike Sperber
4ea713a87a Typo fix.
svn: r17617
2010-01-12 12:38:42 +00:00
Eli Barzilay
77ab3bb426 Welcome to a new PLT day.
svn: r17616
2010-01-12 08:50:17 +00:00
Jay McCarthy
c22810cef1 Fixing two typos found by pdedede
svn: r17615
2010-01-12 02:37:22 +00:00
Matthew Flatt
331c6d2f5f fix bignum expt (PR 10690); also fixed a doc typo
svn: r17614
2010-01-12 02:16:12 +00:00
Jon Rafkind
e9165f30fe document latest scheme/generator functions
svn: r17613
2010-01-11 22:22:51 +00:00
Sam Tobin-Hochstadt
81e963bd46 `reverse' is special on all tuples
svn: r17612
2010-01-11 22:13:22 +00:00
Sam Tobin-Hochstadt
4fa4f6fd2d Propogate expected type through `reverse'.
New loop special case for `for/list'.

svn: r17609
2010-01-11 20:48:26 +00:00
Robby Findler
607b72d560 fixed a typo
svn: r17608
2010-01-11 17:14:14 +00:00
Matthias Felleisen
bea9d06b21 adding port doc for universe from world
svn: r17606
2010-01-11 16:38:21 +00:00
Matthias Felleisen
7cee96d6e4 adding port doc for universe from world
svn: r17605
2010-01-11 16:29:50 +00:00
Matthias Felleisen
584286f8c5 small typos in place-image/align
svn: r17604
2010-01-11 15:16:03 +00:00
Eli Barzilay
038ed5bea3 Welcome to a new PLT day.
svn: r17603
2010-01-11 08:50:30 +00:00
Eli Barzilay
55d4ac93b3 another case of this
svn: r17602
2010-01-11 06:38:19 +00:00
Eli Barzilay
384cadd579 express expected result of []s using []s, so these tests make sense for readers that use []s in a different way too
svn: r17601
2010-01-11 06:31:01 +00:00
Eli Barzilay
bfc59751f1 some minimal explanations
svn: r17600
2010-01-11 02:30:18 +00:00
Eli Barzilay
01536ba44e switch to "#lang setup/infotab"
svn: r17598
2010-01-11 02:24:24 +00:00
Eli Barzilay
c8e7825afe nothing in here
svn: r17597
2010-01-11 02:22:10 +00:00
Eli Barzilay
995d1f0d68 use #f so the default browser will be used
svn: r17596
2010-01-10 16:00:35 +00:00
Eli Barzilay
84f55d9647 remove redundant find-exe
svn: r17595
2010-01-10 15:46:54 +00:00
Robby Findler
887aef7e76 changed the external browser default preference so that it doesn't crash drscheme on startup (in future releases, if more browsers come out)
svn: r17594
2010-01-10 15:07:52 +00:00
Robby Findler
708d4c10d6 fixed image equality for zero width & zero height images
svn: r17593
2010-01-10 13:55:11 +00:00
Eli Barzilay
7d27dafa77 Welcome to a new PLT day.
svn: r17592
2010-01-10 08:50:38 +00:00
Eli Barzilay
b33455dc8e case-fold username in servlet when needed
svn: r17591
2010-01-10 04:12:48 +00:00
Matthew Flatt
349c15d478 replae module->compiled-module-expression with module->imports and module->exports
svn: r17588
2010-01-09 14:42:18 +00:00
Eli Barzilay
eb8a60a235 Welcome to a new PLT day.
svn: r17587
2010-01-09 08:50:42 +00:00
Eli Barzilay
6b7c199326 * Some reorganization of code
* Rename `make-repeated-sequence-generator' -> `sequence->repeated-generator'
* Several tests for `sequence->generator'

svn: r17586
2010-01-09 04:45:39 +00:00
Eli Barzilay
3993f30dec typed/test-engine goes with test-engine
svn: r17585
2010-01-09 03:54:55 +00:00
Jon Rafkind
a0ba9a7649 add sequence->generator and change make-repeated-sequence-generator to use that instead of infinite-generator
svn: r17583
2010-01-08 22:02:42 +00:00
Stevie Strickland
73d68593af Moving unit system from mzscheme->scheme/base, reformatting and small changes
as necessary.  Ran the quiet testsuite, unit tests, and setup-plt, all good.

svn: r17582
2010-01-08 21:44:42 +00:00
Ryan Culpepper
d846d22b9e macro-debugger:
fixed local-expand not within macro transformation
  removed dead forms (eg require-for-syntax)
  fixed module-level begin-splicing highlighting

svn: r17581
2010-01-08 21:32:49 +00:00
Stevie Strickland
ab3dd78cb1 Removing scheme/load I used for editing this.
svn: r17580
2010-01-08 21:04:21 +00:00
Stevie Strickland
1c47ecc346 Just fixing the unit testcases so that they don't error.
svn: r17579
2010-01-08 21:03:17 +00:00
Matthew Flatt
4fedeeaf7a add module->compiled-module-expression, which is used in Scribble's traversal of module paths to find documented bindings
svn: r17576
2010-01-08 19:53:04 +00:00
Sam Tobin-Hochstadt
f13453e889 `andmap' now works as a predicate in Typed Scheme
svn: r17575
2010-01-08 19:05:58 +00:00
Stevie Strickland
c8c66bfe7f Need to handle what happens when there's no contracts to speak of.
svn: r17574
2010-01-08 18:52:57 +00:00
Stevie Strickland
ea20ee160f Add a dummy lambda expansion to signature compilation to ensure that the
expressions only refer to locally-bound names or names that are part of the
signature itself.

svn: r17573
2010-01-08 18:47:51 +00:00
Stevie Strickland
9e0f2a3c5f Identifiers in signature contracts don't use whatever prefixing or such may be
in play in the body of a unit, so we need to rename the "external" version to
the "internal" version.  This fixes PR 10246.

svn: r17571
2010-01-08 17:20:19 +00:00
Matthias Felleisen
e0509fa28e placed deprecated message atop world.scrbl
svn: r17570
2010-01-08 17:15:46 +00:00
Sam Tobin-Hochstadt
05a0e722f9 use of member, memq, memv as predicates working properly
svn: r17568
2010-01-08 15:55:32 +00:00
Sam Tobin-Hochstadt
0d46fcb48a Create new `typed/test-engine' collection.
Remove dependence of `typed-scheme' on `test-engine'.

svn: r17567
2010-01-08 15:38:17 +00:00
Matthew Flatt
dff26c2e22 doc fixes (PRs 9971, 10168)
svn: r17566
2010-01-08 14:14:16 +00:00
Matthew Flatt
d1e979c4c5 check arguments of scheme/math functions (PR 10197)
svn: r17565
2010-01-08 13:50:21 +00:00
Matthew Flatt
1086cefc7a add empty to the list of things that are not structs for HtDP langs
svn: r17563
2010-01-08 13:38:48 +00:00
Eli Barzilay
01b42b6ba3 Welcome to a new PLT day.
svn: r17562
2010-01-08 08:50:42 +00:00
Robby Findler
179f3615e2 added fast path for image equality that covers the case where the images have the same structure (roughly)
svn: r17560
2010-01-08 02:25:11 +00:00
Jon Rafkind
db44bb9e7a add infinite-generator and make-repeated-sequence-generator
svn: r17559
2010-01-07 23:23:56 +00:00
Jon Rafkind
b497787b89 one more name change
svn: r17556
2010-01-07 22:31:29 +00:00
Jon Rafkind
f5ea84cbb4 add infinite-generator macro. change name infinite to make-repeat-generator
svn: r17555
2010-01-07 22:28:37 +00:00
Sam Tobin-Hochstadt
b7f9899439 `member' can now be used a predicate.
svn: r17554
2010-01-07 22:11:54 +00:00
Jon Rafkind
9fc7b4c445 add infinite generator test
svn: r17553
2010-01-07 21:54:07 +00:00
Jon Rafkind
db6a9de7ed add 'infinite' generator
svn: r17552
2010-01-07 21:53:37 +00:00
Sam Tobin-Hochstadt
eaad64d612 Better error message for functions that don't have the same arity as
the expected.
Add some tests for errors.

svn: r17551
2010-01-07 21:45:57 +00:00
Eli Barzilay
cf60eec875 forgot to comment this out
svn: r17550
2010-01-07 21:28:13 +00:00
Sam Tobin-Hochstadt
62653d3c41 Error on duplicate type annotations.
svn: r17549
2010-01-07 21:20:45 +00:00
Eli Barzilay
727d1542ba Create a tree from a subversion repository.
svn: r17548
2010-01-07 20:48:18 +00:00
Eli Barzilay
133f378991 Reorganize module and function names to reflect file tree work.
svn: r17547
2010-01-07 20:47:41 +00:00
Sam Tobin-Hochstadt
6199fc8867 Fix error messages on malformed All.
svn: r17546
2010-01-07 20:31:23 +00:00
Sam Tobin-Hochstadt
a40d5c5569 Improve error messages.
svn: r17545
2010-01-07 20:16:05 +00:00
Robby Findler
f9311ff9dc minor changes so that things run in drdr
svn: r17544
2010-01-07 20:10:59 +00:00
Robby Findler
0eb5178ca8 svn: r17543 2010-01-07 20:06:18 +00:00
Sam Tobin-Hochstadt
08457d35e3 Improve error messages in the simple case.
Change 'typecheck to Type Checker in error messages.

svn: r17542
2010-01-07 19:41:42 +00:00
Stevie Strickland
e2f50af66c If a contracted import doesn't have a pair value (because we haven't run
the corresponding unit body yet), then result in a useful error instead of
leaking internal implementation details.

svn: r17541
2010-01-07 19:36:08 +00:00
Sam Tobin-Hochstadt
0044d86271 fix extend to handle negative lengths
svn: r17540
2010-01-07 19:10:43 +00:00
Sam Tobin-Hochstadt
7c9d1b47cf fix docs typo
svn: r17539
2010-01-07 19:10:27 +00:00
Robby Findler
52eee4547b fixed PR 10684 and fixed up some old, broken tests and fiddled with the test suite infrastructure
svn: r17536
2010-01-07 18:10:28 +00:00
Sam Tobin-Hochstadt
e9165339b8 add debugging macro to unstable
svn: r17534
2010-01-07 17:09:35 +00:00
Sam Tobin-Hochstadt
b71b196764 More type names
Fixes PR 10646 (as it evolved)

svn: r17533
2010-01-07 16:48:05 +00:00
Matthew Flatt
f7f6b972fd fix problem with flmin/flmax and cgc
svn: r17532
2010-01-07 16:33:26 +00:00
Sam Tobin-Hochstadt
bcee60dfd8 fix typo
svn: r17530
2010-01-07 15:14:33 +00:00
Eli Barzilay
daa1c0b338 Moved FS code into plt-tree.ss
svn: r17529
2010-01-07 10:28:11 +00:00
Eli Barzilay
ecb1f6525d Welcome to a new PLT day.
svn: r17528
2010-01-07 08:50:36 +00:00
Eli Barzilay
5fe14f70b6 * Including full path for each node in the tree -- this means that any
subtree is complete with no need to rehack its root.  Simplifies a
  bunch of code, and makes some utilities redundant.
* Using a single struct for all nodes, with subs=#f to mark files
* Names of struct is generic, no relation to actual files and dirs
* Added more tests

svn: r17527
2010-01-07 04:05:21 +00:00
Eli Barzilay
220801c80c typo in error message
svn: r17526
2010-01-07 03:39:33 +00:00
Eli Barzilay
39595d2d05 faster version of the code
svn: r17525
2010-01-07 03:38:23 +00:00
Matthew Flatt
41261c6047 fill out fl and fx operations; repair fixnum-overflow bug in quotient
svn: r17524
2010-01-07 03:30:33 +00:00
Robby Findler
911123bf94 added add-curve
svn: r17523
2010-01-07 01:56:46 +00:00
Sam Tobin-Hochstadt
a8e1c829c2 Fix `type-apply'
Fix duplicate filters

svn: r17522
2010-01-07 00:55:51 +00:00
Sam Tobin-Hochstadt
8b7fb01692 fix lots of numeric types
svn: r17520
2010-01-06 23:21:31 +00:00
Sam Tobin-Hochstadt
c7cb124c95 Put dynamic behavior of `check-expect' into functions.
Give those functions types.

svn: r17519
2010-01-06 23:03:08 +00:00
Ryan Culpepper
7b866a7cf3 syntax/parse: fixed error message (PR 10683)
svn: r17517
2010-01-06 22:20:25 +00:00
Sam Tobin-Hochstadt
582ca03d18 Use syntax-parse and syntax-classes for type annotation macros.
Add `let-values:' and `let*-values:', fixes PR 9793

svn: r17516
2010-01-06 22:15:18 +00:00
Robby Findler
b5e54fe2eb applied Ian's patch to the bitmap rotation code
svn: r17513
2010-01-06 21:43:34 +00:00