Commit Graph

379 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
3082052ffb Remove stray printf.
svn: r12147

original commit: d60ae208e12a72c0788cb907b6870e3d748351e0
2008-10-27 20:04:41 +00:00
Sam Tobin-Hochstadt
f24c93b475 Add `warn-unreachable'
svn: r12145

original commit: 5db61f199fff5b2a8c0d8595de984184336a5bac
2008-10-27 20:02:34 +00:00
Sam Tobin-Hochstadt
c988220e11 Add type for Procedure.
Fix types to use Integer instead of Number where appropriate.
add type for maybe-print-message.

svn: r12141

original commit: a7b5d4af4b478e4c29e2cc52cd760fe0f6b7a596
2008-10-27 15:16:22 +00:00
Eli Barzilay
e94b7c2f70 TS tests now work, and are not noisy when succeeding
svn: r12119

original commit: 0ccbac0647a6a0dd129d9b7531514cfdca24d58d
2008-10-24 19:50:24 +00:00
Sam Tobin-Hochstadt
fd7442f6ed New test from John, fix tests to work with new code.
svn: r12108

original commit: d93505082f85d471ea62f73ae0c402443d0e15c4
2008-10-23 23:34:00 +00:00
Sam Tobin-Hochstadt
757a6ac532 Document `List'.
svn: r12107

original commit: 101ca7ada7e4003e6964200c7c1559349c8beb5a
2008-10-23 22:56:30 +00:00
Sam Tobin-Hochstadt
ec58da0ff0 Improve printing of effects for functions with simple effects.
Reject contract creation of overloaded types.

svn: r12105

original commit: ae1fd58e2b085dbd605f41b17a8ad360aa2bb830
2008-10-23 21:43:23 +00:00
Sam Tobin-Hochstadt
9971f1730d Static info for require-typed-struct
svn: r12096

original commit: d02748f0fa2794e3eab37db264b6166c587625f9
2008-10-22 21:07:47 +00:00
Sam Tobin-Hochstadt
5308710cd1 Fix tests with even?
Add test for struct syntax info.

svn: r12095

original commit: 24c4d0b3fc067072677cd6037657247a315aaccb
2008-10-22 21:07:31 +00:00
Sam Tobin-Hochstadt
6eb9152bd1 Fix type of odd and even.
svn: r12086

original commit: 0ec881dc60a15b185c0c07ed2c36eaf992a368e9
2008-10-21 20:55:07 +00:00
Eli Barzilay
e07bf6e209 look -- a let!
svn: r12085

original commit: b349b4baa2da4b0d92ea33e3b3dcb21a18eeadee
2008-10-21 19:52:40 +00:00
Sam Tobin-Hochstadt
6db06c53cd New error handling for type parsing errors.
New error type that is both top/bot.
Fix provide handling if identifier is provided twice.
Note that require/typed is really a definition.
Fix require of #%kernel.

svn: r12083

original commit: 3a9928474523b042f83a7a707346daa01ef63899
2008-10-21 18:01:03 +00:00
Sam Tobin-Hochstadt
a8185f5048 Add new test for better error reporting.
svn: r12082

original commit: c6c4a049ee8b658459b5bf6b1564aced1afdd7b8
2008-10-21 17:58:57 +00:00
Sam Tobin-Hochstadt
4bed8042a1 revert this change to fix drscheme.
svn: r12075

original commit: b173fb073efdcf3f5a9acc9188de84de32ee3cf4
2008-10-20 20:04:15 +00:00
Sam Tobin-Hochstadt
dc77ba4148 revert previous change
svn: r12074

original commit: 714e356fb48a1bb78c850a1d2e676645c3ab0e8e
2008-10-20 19:01:52 +00:00
Sam Tobin-Hochstadt
e347aea92c require/typed is really a definition for the purpose of provide.
svn: r12073

original commit: aad41cc46e026059e17dc0737fd140f03835b8f9
2008-10-20 16:55:55 +00:00
Sam Tobin-Hochstadt
693829c961 Document singleton symbol types.
svn: r12072

original commit: 2b4a60ced6c62b02d13d4c0fbb7ffc3ad702a9c0
2008-10-20 14:04:10 +00:00
Eli Barzilay
a418e160c0 a little improvement (see PR9847) but still not working
svn: r12068

original commit: 72198bf8561aa280ed12850e99e16ba92c6677f8
2008-10-20 02:52:23 +00:00
Eli Barzilay
4c5a780062 allow the arrow to appear anywhere (since no inputs is a possible case)
svn: r12039

original commit: 05db2f04af30f21c35e7de2d064ac3a3511a482c
2008-10-14 19:07:27 +00:00
Eli Barzilay
cec84d33dd Allow an implicit paren for (: <id> : T ... -> T)
svn: r12038

original commit: 9cc7f90a0aa877aab3310a83b1f3133105d2aefa
2008-10-14 18:44:05 +00:00
Sam Tobin-Hochstadt
557bd01043 add args to error
svn: r12036

original commit: e802682c4df62cdb320b931c09d89db8bbb3d15a
2008-10-14 16:34:14 +00:00
Sam Tobin-Hochstadt
69474a750e Better error message for extra ->.
svn: r12034

original commit: 453deb8a5d47b8cfd5ea849bba46fa51d9de8a5e
2008-10-14 15:58:34 +00:00
Eli Barzilay
d2c755f005 make-Listof -> -lst
svn: r12021

original commit: beec99c12eb0ade6b780c6618a4e154a811398ea
2008-10-13 17:17:30 +00:00
Sam Tobin-Hochstadt
15bc9ba914 Fix type of error.
svn: r12019

original commit: 6a0b9b4e20d660410238fa68273f2f532c06b122
2008-10-13 16:22:52 +00:00
Eli Barzilay
e87cb50bd2 list-tail
svn: r12017

original commit: c08e09ae6ca4cdcffb3bd79d6f5b01c3f752fbe6
2008-10-13 16:16:18 +00:00
Eli Barzilay
01be0f1dd8 rem{ove,q,v} and rem[qv]*
svn: r12016

original commit: 72f8e1d3e6396b6447d0c254a999868760e4a21b
2008-10-13 15:58:29 +00:00
Eli Barzilay
9d30470a38 gcd & lcm, move sqrt with its friends
svn: r12015

original commit: fd89ef7d419ae721d90008930dbb8e8b0250f34f
2008-10-13 15:56:06 +00:00
Eli Barzilay
579c36806d sleep and time-apply
svn: r12014

original commit: b58b3d72fccf0c9302b827b65a3dfa3bac04a179
2008-10-13 15:51:02 +00:00
Eli Barzilay
52399cdc09 trigonometric functions
svn: r12013

original commit: b9866e0af2158c5ad2cd1341a33bad319828374d
2008-10-13 15:48:46 +00:00
Eli Barzilay
98d2ec4846 bitwise functions
svn: r12012

original commit: dbadf365a3533ab2554ebe966e4e713e23b95c66
2008-10-13 15:47:52 +00:00
Eli Barzilay
7c6b674141 Some more arithmetic functions
svn: r12011

original commit: 757c51957eb0c4089e13dcee78b88488c4e1a4eb
2008-10-13 15:47:24 +00:00
Eli Barzilay
ee7c4dc30b bad non-typo fix, go back, and change to Univ
svn: r12010

original commit: d5028463f23e07e04c84950d32c11db4218e9301
2008-10-13 15:42:53 +00:00
Eli Barzilay
279939d40b some more sensible grouping of similar functions
svn: r12009

original commit: 86d70f52d8a09e9654be57be0e52cc74be8fa486
2008-10-13 15:42:19 +00:00
Eli Barzilay
cd157e5175 capitalization typo
svn: r12008

original commit: 1beabaf5e8b7d43894e7fdc9eb5bf7395f1b1c75
2008-10-13 15:37:16 +00:00
Eli Barzilay
46c7fe5eb9 * Grouped the ass* functions
* Made them all use -opt

svn: r12007

original commit: e114ca005e53aa8f35b118f990922b9ce46fd350
2008-10-13 15:36:59 +00:00
Eli Barzilay
21700fdf68 use all of scheme/list, so the types for first and friends actually works
svn: r12006

original commit: f4ae28d7149fd5c3f90fe2af60fb2589cc3e8688
2008-10-13 15:33:06 +00:00
Eli Barzilay
d6372cf515 (random) returns a floating point number
svn: r12005

original commit: fea96706f189c950ee43825618d0a99774f5494f
2008-10-13 15:32:17 +00:00
Eli Barzilay
d3affbf868 * Move write' next to display'
* Make it have the same type (can write anything)
* Add `print' with the same type

svn: r12004

original commit: 0209663ec75b138c505d101e6f8dfb636c51ec6a
2008-10-13 15:30:55 +00:00
Eli Barzilay
57cfc5d3d5 minor reformatting (brackets, spaces, indents)
svn: r12003

original commit: 9ba08bc5583e2f7248fdd1668b84cdff7fa78707
2008-10-13 15:29:13 +00:00
Eli Barzilay
3bf7774adb removed unused leftover file
svn: r11992

original commit: 078ce5f8c6dc17d41c45b9686c5333a0383b0915
2008-10-11 19:17:17 +00:00
Eli Barzilay
07ec9bfd86 fix whitespace before open-brace issues
svn: r11991

original commit: cff6f07259c2fc2656c6e27aa07c19d5cf5331fe
2008-10-11 19:09:50 +00:00
Sam Tobin-Hochstadt
2f7553ada9 Fix inference for simple fns with ...
svn: r11977

original commit: 3db02a50e168ae8f22c056919cc1413bfb1b7c73
2008-10-08 15:34:05 +00:00
Sam Tobin-Hochstadt
5239b94d65 New test for bug found by eli.
svn: r11969

original commit: 665da912c8d1ed05a973a1cb3d2679678a94187b
2008-10-07 21:55:45 +00:00
Sam Tobin-Hochstadt
687faf6d08 Fix bug in inference when tvars in env.
svn: r11968

original commit: dbf4462228a4094e2fa71617cd88ae61e80e12d2
2008-10-07 21:55:25 +00:00
Sam Tobin-Hochstadt
09ac3ccc7f Fix automated TS tests.
svn: r11953

original commit: c953007f633340d0f32ab6024bb297d64adc0cab
2008-10-06 19:41:30 +00:00
Eli Barzilay
b63bdbb842 oops, revert this line
svn: r11938

original commit: a1bbd7dd3c17b48ddd0cad18baf2a173c33b5066
2008-10-05 03:41:17 +00:00
Eli Barzilay
d14979c7d7 planet-requires moved to tests/typed-scheme/util-tests
svn: r11937

original commit: 2899c1f1cce30f7aacb5032e92c87cf06378722c
2008-10-05 03:40:55 +00:00
Eli Barzilay
a2f34edb53 rename holder -> keep
svn: r11932

original commit: 8d06e0c707295a6dee60e722dfafe40c4e2d7992
2008-10-04 19:10:38 +00:00
Sam Tobin-Hochstadt
74d7ac4276 Fix handling of explicit maker in tc-struct.
svn: r11881

original commit: 98c02cb887c493ed5aa9c371b382200f0600049d
2008-09-26 12:23:33 +00:00
Sam Tobin-Hochstadt
e7bc490d7f Fix error in use of tc-error/delayed.
Fix expansion of with-handlers:
add test

svn: r11875

original commit: cd6a37ff4c83505ceef5fbc747235160d03d2aee
2008-09-25 19:35:00 +00:00
Sam Tobin-Hochstadt
bd6862fae4 fix type of assq
svn: r11872

original commit: 77e9b026b3a50d6430b4120e40dce511a5e26e7e
2008-09-25 15:56:55 +00:00
Sam Tobin-Hochstadt
a7a6f1451e Add test for assq
svn: r11871

original commit: 23db0aa366a5e85eefc3d8ff188d23ddf40aef82
2008-09-25 14:55:36 +00:00
Eli Barzilay
4a09a3f669 set svn:eol-style
svn: r11858

original commit: 943b22ebeb4332039d7fc587b15fe83e27d5c18d
2008-09-24 20:08:05 +00:00
Sam Tobin-Hochstadt
28ca599959 Reorg to separate out files.
svn: r11857

original commit: 15e7be91f5bd27294be48d4d22bb15ef0e5b7d16
2008-09-24 19:56:48 +00:00
Sam Tobin-Hochstadt
37649236b9 Make contract error regexps more flexible.
svn: r11855

original commit: 89171c03294a0418fd3009bdd181792568626f04
2008-09-24 19:55:29 +00:00
Sam Tobin-Hochstadt
f98a4bc210 Add kw test
svn: r11850

original commit: 9c08df4789047efd717f92048442abc8a2c26fc0
2008-09-24 14:03:25 +00:00
Sam Tobin-Hochstadt
3cc4ad59bd Remove output redirection.
svn: r11849

original commit: 81b9f638521724dbd1941947233faab1b71d0778
2008-09-24 14:02:20 +00:00
Sam Tobin-Hochstadt
21ca4c1d01 Fix delay/force.
svn: r11841

original commit: 917307bd2e8f8dccad9bfcc27261f30e19cc87cb
2008-09-22 21:37:13 +00:00
Sam Tobin-Hochstadt
86b8ec148b add char?
svn: r11838

original commit: 091089f27d032478d745283e897036d8974ec2d5
2008-09-22 18:37:48 +00:00
Sam Tobin-Hochstadt
d417ac6a55 Catch error before internal error, more informative internal error.
svn: r11837

original commit: 88d44f9c5b37b17e43cac04d918eff5a34870334
2008-09-22 18:35:24 +00:00
Sam Tobin-Hochstadt
dd61d2e865 Fix internal errors in error reporting.
svn: r11836

original commit: e7a7036a48fd3afa19f5dd5420aae13ed09dbda2
2008-09-22 18:09:49 +00:00
Sam Tobin-Hochstadt
5c5934c98b Documentation for define-struct:
svn: r11781

original commit: 6d228898ee571979a45e1ac6d35e936ad9a76d4d
2008-09-16 22:26:34 +00:00
Sam Tobin-Hochstadt
43c13e8052 Document `Parameter'
svn: r11780

original commit: 405ed4de3f82dd5cc135dde5f8326e969916fe61
2008-09-16 22:21:44 +00:00
Eli Barzilay
dbb5151b31 svn: r11773
original commit: 7d00e626c94bd8f67bf6a5891177bbd9b2e30f64
2008-09-16 04:14:03 +00:00
Eli Barzilay
5b6cf7448d properly use module-reader
svn: r11770

original commit: 52f0e100a7b7825a76e82cfb9a9ffc7b99c78118
2008-09-15 23:09:25 +00:00
Sam Tobin-Hochstadt
593b26228e revert contracts
svn: r11739

original commit: 35244d474e300136949539b6690d8d0124426d31
2008-09-13 23:51:16 +00:00
Sam Tobin-Hochstadt
c7f2971ecb contracts for infer, and keyword argument for expected
svn: r11735

original commit: 9d53eab27d39b0a978ae6dfb183cabf0e2eda087
2008-09-13 23:00:24 +00:00
Sam Tobin-Hochstadt
c08c477ba6 provide tc-result? for contracts
svn: r11734

original commit: 302e28da620581ce928a346e43f9d3109c694f0c
2008-09-13 22:48:19 +00:00
Sam Tobin-Hochstadt
a17e62cca0 Fix call to *Keyword - thanks Matthew.
svn: r11733

original commit: 49c816cfaa30ba7caa343d4d3fbf2cc9a1472acf
2008-09-13 22:47:52 +00:00
Sam Tobin-Hochstadt
dd509b80f3 Doc changes.
svn: r11732

original commit: 37796884d8599d6411bff0ebbf6fc88e6f6bf285
2008-09-13 22:45:22 +00:00
Stevie Strickland
0e79b7a3a9 svn merge -r11644:11643 .
Yeah, these trunk merges will eventually come back.

svn: r11655

original commit: ae2d69720cc64c7398ba5991ff33f00ceb8e593f
2008-09-11 22:21:45 +00:00
Stevie Strickland
9171430d56 svn merge -r11640:11643 http://svn.plt-scheme.org/plt/trunk
svn: r11644

original commit: 2d6f7878650a224fe9b18d97c3bdb598761333ce
2008-09-11 14:45:33 +00:00
Sam Tobin-Hochstadt
2b288b2582 Add eof and read-accept-reader.
Fix find-mutated-vars

original commit: 7cf9b36c1501aa994d29e1bbd61b1785b5e92655
2008-09-11 09:01:49 -04:00
Sam Tobin-Hochstadt
9b7d945049 Add no-check language
original commit: c7b51cfd2d1dece6ac2254f44e278f3c18ee13a7
2008-09-10 14:49:15 -04:00
Sam Tobin-Hochstadt
f54d163224 reorg
original commit: 5ac64589baffabf3e7045e5c0c877a1c484207ea
2008-09-09 17:40:26 -04:00
Sam Tobin-Hochstadt
53e3814a54 Improve errors.
original commit: 8df7a464931969dd782f3efe6db7e322643be2f4
2008-09-08 13:27:38 -04:00
Sam Tobin-Hochstadt
8701782f17 more stuff works
original commit: a1825082df673c1fd4bf8e288230c63bb142d9f3
2008-09-05 16:52:00 -04:00
Sam Tobin-Hochstadt
9a357ebf84 Fixed printing for new rep.
Handle mandatory and optional keyword args.

original commit: 801156229a9a8498f9860aed405b3a61ed252d03
2008-09-04 17:59:36 -04:00
Sam Tobin-Hochstadt
f4eec91021 New representation that accomodates mandatory and optional keyword args.
original commit: 79e3a0c4c68070d6a558a006d70c326f4ee2d28a
2008-09-04 17:02:33 -04:00
Sam Tobin-Hochstadt
aa2a031828 progress
original commit: 85a0fa22d10e17df8a9d0dc1dcff56c2cc9a43a2
2008-09-02 20:25:23 -04:00
Eli Barzilay
52191973be set svn:eol-style and newlines at eofs
svn: r11525

original commit: 0453be932be302747295d16cefac6be379c8125e
2008-09-02 15:38:20 +00:00
Eli Barzilay
2152be6b8c use the new facility for the typed-scheme reader
svn: r11504

original commit: 989aedc09a6c562fc5a8fdf414ccc5db948125fb
2008-09-01 04:26:54 +00:00
Sam Tobin-Hochstadt
7b3ad3a27f start on keywords
original commit: a8417c7c1c5eaa5996caab91fc150b901669a9e8
2008-08-29 18:23:59 -04:00
Sam Tobin-Hochstadt
a23827e048 Fix docs to work around schememod bug
svn: r11342

original commit: a16f879e2451d64f0aab125852cada27f8ba3e12
2008-08-19 19:57:59 +00:00
Sam Tobin-Hochstadt
b0817bce2a Better error messages for require/opaque-type
svn: r11341

original commit: d546d6e045b10fa5e433800378ee6f75d96ede9c
2008-08-19 19:48:24 +00:00
Sam Tobin-Hochstadt
84dd8c4d51 Print struct names without [].
svn: r11340

original commit: 79b4f2d078f09f89ecc5a12d0fc179bb4ffb77c5
2008-08-19 19:40:38 +00:00
Matthew Flatt
5cf33a8aff assign authors to manuals
svn: r11287

original commit: 9453aaaccf2f0007bae450c291e1cd29a7a14696
2008-08-15 20:16:06 +00:00
Sam Tobin-Hochstadt
ec6c2bde88 Fix handling of `, delay, and this-language using Matthew's advice
svn: r11127

original commit: 513174a2bd9274cd73a24fb12153e3386432945c
2008-08-07 19:05:32 +00:00
Sam Tobin-Hochstadt
eda70bdaf9 Provide some names
svn: r11114

original commit: 24a98cf0618fc3b0593c4a355f6355064a30d404
2008-08-06 20:48:02 +00:00
Sam Tobin-Hochstadt
fee0250ffb Fix typo
svn: r11113

original commit: 44e0c09d75e10fc4d3cd9e21ad60fd24e41d23c5
2008-08-06 20:47:28 +00:00
Sam Tobin-Hochstadt
6f4fa61276 Add types for char comparison functions.
svn: r11085

original commit: 5f787a63d499fe32dfbc1d11d2ba8e48a4a9323f
2008-08-05 18:17:27 +00:00
Sam Tobin-Hochstadt
50bf0a65a4 fix some dumb bugs
svn: r11082

original commit: ad2b2b31995ea2ef7c5b0f65b240b90cc3808bf2
2008-08-05 15:05:25 +00:00
Sam Tobin-Hochstadt
6dafea4ae8 compiles except for language
original commit: 8489d5cfb9852229ba4625a8e59a5b34c2881da6
2008-08-05 11:05:07 -04:00
Sam Tobin-Hochstadt
4d9768895a These tests now pass.
svn: r11067

original commit: 4ba93761313ed8f4c863d6fe05fa66b3aa37cf09
2008-08-04 18:36:38 +00:00
Eli Barzilay
a91efc813e use schemeunit version 2
svn: r11049

original commit: c4f62cfc13f7a09b5cde28cd7f06c8f1596d7605
2008-08-03 14:47:02 +00:00
Sam Tobin-Hochstadt
4f7c6aff6a Fix bug 9649.
svn: r11029

original commit: 28c5e71b01454eda4328a8abceed12f11aaeb865
2008-08-01 20:57:48 +00:00
Sam Tobin-Hochstadt
ef047be955 Fix docs of -> to talk about varargs.
svn: r11028

original commit: d7b4d81e04b656a814e9f82af201c8794fcae9d9
2008-08-01 20:42:30 +00:00
Sam Tobin-Hochstadt
10735f4a35 Allow ... rest variables to be used as lists.
Bind Values as a type.

svn: r11010

original commit: fa857a40acbb475ca2c2ab3b40d02c547d798129
2008-07-31 19:26:46 +00:00
Sam Tobin-Hochstadt
40dd66120c add test
svn: r11009

original commit: 14b180d5a74018c0b9a2b0c2805045e9f910958a
2008-07-31 19:26:13 +00:00
Sam Tobin-Hochstadt
7beae186ec Dynamic require only requires Schemeunit 2
svn: r11007

original commit: 72a2b55c1395bd82132b4334aecb421993a3f99d
2008-07-31 12:44:25 +00:00
Stevie Strickland
6e2786758e Yes, we need the hyphen.
svn: r10968

original commit: 402de6f0903d05b7651204c8595a60972f9b2337
2008-07-29 17:10:01 +00:00
Stevie Strickland
b641a326cd Actually, revert that last change. What we'll do is:
* Fix up things so that we actually use 'temp-dir via find-system-path
    instead of using /tmp always
  * Turn off logging via the logging? for-syntax definition.

svn: r10967

original commit: be456fec946e791ac3e1cfa76d705c8b9a568921
2008-07-29 17:06:11 +00:00
Stevie Strickland
4056c657b2 This shouldn't have been left in.
svn: r10966

original commit: 2d9a48a11d7c22bb4ba509336ecdb6a8e242b3b0
2008-07-29 16:58:21 +00:00
Stevie Strickland
f76a46dc8c Add the forall Unicode symbol as an acceptable replacement for the
All type constructor.

svn: r10797

original commit: 91291ba2bc31e599ec703b5bdd091a6238ce6c71
2008-07-16 17:37:05 +00:00
Stevie Strickland
a42d2b6dd9 Add filter-map to base-env.ss
original commit: 39c343ec18dc9a850e1461869979a7c06e8d05b4
2008-07-15 00:33:14 -04:00
Stevie Strickland
b6fc5b6d36 This is too long for the paragraph, just separate it.
original commit: 1fd8f6c2c315a6ab1b374091bc8f3511b36d934c
2008-07-15 00:10:04 -04:00
Sam Tobin-Hochstadt
18810e108a logging
original commit: 2866efd3485b19c98dd858b1db7e09928f0213c6
2008-07-14 08:48:14 -04:00
Stevie Strickland
8a0c610699 I'm not sure how best to add this as a hit for "rest argument(s)" without
actually putting that in the section title -- and truthfully, maybe it
should be, for those who aren't deeply versed in PL but know enough
Lisp/Scheme to ask for this.

original commit: e92c35d90c6558ef54f5d81191eb4c1eaf88249c
2008-07-13 22:33:37 -04:00
Sam Tobin-Hochstadt
d77d7ba57f Fix handling of mutable structs (setters != getters)
Allow use of #:mutable as define-typed-struct arg
Fix types of random andmap ormap

original commit: 2456dcc18b10a10a7bad3b1f9af8e33fad03231f
2008-07-13 17:31:58 -04:00
Stevie Strickland
5a2792932f Put the beginnings of documentation here.
original commit: 4e7f527cb8ad3c2bdfc872c4da8d8e8d6725df1f
2008-07-13 16:50:05 -04:00
Stevie Strickland
c9a76891bc Starting to expand out the documentation in preparation of merging this
branch back to trunk.

original commit: d6f527a96f05fe949ef032c471e2abca9bc89da9
2008-07-13 16:07:29 -04:00
Stevie Strickland
0278f71d93 I thought I checked this in, but apparently not! Oops.
original commit: 05e54f0dfe619a491d7c337e4562f60f8dbdb7e9
2008-07-13 04:35:54 -04:00
Eli Barzilay
362100e41e * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689

original commit: 7d50e61c7f6831936e13e6af5140db65db18fe1c
2008-07-09 07:18:06 +00:00
Sam Tobin-Hochstadt
89696cbcd4 Finally found a nasty bug involving variables not appearing in the hash table.
original commit: b835002d72e06f13991ea4adbc6d052fa6fe0c0e
2008-07-07 19:21:42 -04:00
Sam Tobin-Hochstadt
dbca8c34e4 Add new test for force/delay.
Fix tests that have errors to have appropriate parameters.

original commit: 717a81283582694de7508f6251e2d880da78d8cc
2008-07-07 17:15:10 -04:00
Sam Tobin-Hochstadt
ea5d2b8f5f Add require of scheme/promise for force.
Handle call-with-values more appropriately.

original commit: 589ba9d77a6d120f5cf0ebcc926518db69d391bf
2008-07-07 16:43:12 -04:00
Sam Tobin-Hochstadt
6cd98e19ef Int is not a type
original commit: f2699abe6539da6e44e9a8e19fe481b26a2fa8ec
2008-07-07 15:36:45 -04:00
Sam Tobin-Hochstadt
ae6caf4765 Fix exn-pred handling.
original commit: 41c9a2eaf17825f3af06ae16232cdd827f2864ea
2008-07-07 15:19:50 -04:00
Sam Tobin-Hochstadt
4a8331d129 More failure tests.
original commit: 477cba1b0bdf8595b2c434fe731d29a1d5f5abda
2008-07-07 15:06:21 -04:00
Sam Tobin-Hochstadt
13384db457 make-Values now checks its argument for having only 1 element
original commit: 2844dec0a109157a05db51e8494d3f317c96c379
2008-07-07 14:58:22 -04:00
Sam Tobin-Hochstadt
e8621eecf0 Fix up singleton values
original commit: d0939ffa1e57894a076bfd6326c4d977cfdf3e2e
2008-07-07 14:49:46 -04:00
Sam Tobin-Hochstadt
760559a6db Add failure cases.
original commit: 88cbe6387952e9da5e57c46c9977a15702e41b82
2008-07-07 14:49:19 -04:00
Sam Tobin-Hochstadt
bbb3e251f8 More info in internal errors.
Fix substitution in nested ... case.

original commit: 61cefef89c8120ffc46d9cc9095637d8337c924e
2008-07-07 14:25:15 -04:00
Sam Tobin-Hochstadt
cc2b39add3 Since this is now in a different loc, need to fix up the require.
original commit: 2714b3a84ac5c44af205c1a2460146e64d878daa
2008-07-07 12:56:19 -04:00
Sam Tobin-Hochstadt
782a227c35 Adding Sam's test for value dots.
original commit: 3dbf0f7ccc9ed8e2686f577ece004ad718c6982b
2008-07-07 12:54:45 -04:00
Sam Tobin-Hochstadt
6fac649e7a remove trace
original commit: e06a22c29b3e36cc4f51822b3d4b8ddcff6d682e
2008-07-07 12:27:08 -04:00
Sam Tobin-Hochstadt
70d1b6b497 values with dots
original commit: c43c3baa67512954b0f2e477aafde6f8461bd99a
2008-07-07 11:01:42 -04:00
Stevie Strickland
19b45b32c4 Example of nested polydots.
original commit: b90e1505d35e695f13cd81417ced00fae709223b
2008-07-01 14:43:44 -04:00
Sam Tobin-Hochstadt
f84545ceef Extra require.
Compile files first.

original commit: bbae1112294a6f92342af3d3ca77a139b3b1c729
2008-07-01 11:27:05 -04:00
Sam Tobin-Hochstadt
02f34aa0fd Check number of type errors.
original commit: 97c5444b88b79c70c1e7625361e6c6ea48284621
2008-06-24 14:05:24 -04:00
Sam Tobin-Hochstadt
d229e895b4 new test
original commit: d7cf0a10c06ea231812e29a3f480ebe6ec7f15de
2008-06-24 11:43:06 -04:00
Stevie Strickland
de9142f4ba Let's also try out the abstracted version of this function.
original commit: e4a0dc82b3753641b0da838e393d7ff453ca37c9
2008-06-21 21:09:03 -04:00
Stevie Strickland
16df4ac649 Remove the bits and pieces used to diagnose the original file, and add the
non-outer-apply versions (that have no reason not to work).

original commit: 48961eb5519b86de55b100fa98ab8c526c9dd699
2008-06-20 17:50:15 -04:00
Stevie Strickland
028aeadc4b Revert last change.
original commit: a6ea8d79543ba3db69a859700dde9c78d583dd8b
2008-06-20 15:47:56 -04:00
Stevie Strickland
eb320ad75d Revert last change.
original commit: ce58c4c6763f6ee31604f38660e3165f29096931
2008-06-20 15:47:22 -04:00
Sam Tobin-Hochstadt
9810d79ec5 Remove no-longer-needed inst.
original commit: b2edd9d19754b1297ce02eb04d591ccc7f29e46a
2008-06-20 15:27:59 -04:00
Sam Tobin-Hochstadt
34df17ddb4 Use the X from cgen/list to create the empty cmap.
This allows (vector) to have type (Vectorof (U))

original commit: 0366745cbf3e8308b9700305c7e187aa260119ba
2008-06-20 15:27:46 -04:00
Sam Tobin-Hochstadt
b133c45645 Small changes needed after changes to infer.
original commit: 89cb3a4b09243dcc3bf292cfd682f226e1f2d326
2008-06-20 14:46:24 -04:00
Sam Tobin-Hochstadt
f2b3eadd88 Correct and incorrect uses of dotted identity
original commit: bec9c11fd4d61bceb966b06e5a9517d286af9ca4
2008-06-20 13:07:42 -04:00
Sam Tobin-Hochstadt
53200d23db * Added code to check that substitution gets rid of all appropriate
variables (and fails if not)
 * Added weird dotted as subtype of * case (dcon-exact)

original commit: 6296ffbfcf85a624227f11f486fb195954e4479b
2008-06-20 13:07:08 -04:00
Stevie Strickland
ee044ee4c4 * Add the ability to substitute in starred types for dotted when
we've inferred it.
 * Try and consolidate a lot of the error printing with domain mismatches.

original commit: 654d7e2f4683f65ba7d0a12491d4b3b834bd70f3
2008-06-19 19:14:32 -04:00
Stevie Strickland
8a6adc82da Another change.
original commit: a1f078fb591d87b572864f80b152a9f1e462b10a
2008-06-19 19:12:39 -04:00
Stevie Strickland
20fdbea031 Another example, putting in starred for dots.
original commit: af12feb72972ca9f5c0ae71573be43101c93dc76
2008-06-19 19:10:05 -04:00
Sam Tobin-Hochstadt
ffc0331fa7 New test
original commit: 2bf691991c2c7316cb2f4b30677a7fd424f7e4dc
2008-06-19 18:04:30 -04:00
Sam Tobin-Hochstadt
6a3dbebd07 Do substitution properly from dmap.
original commit: 0f142d97e3d2d995fa18f694e211cbdabf814bbf
2008-06-19 18:04:19 -04:00
Sam Tobin-Hochstadt
2e4d817391 More tests!
original commit: e62598ef08326c3a0f20a57c5b8370d0319473a5
2008-06-19 16:55:26 -04:00
Sam Tobin-Hochstadt
8338ee8756 * Add constraints when matching t1...a to t2...b
* Do inference when you have (apply f ... xs), f and xs are dotted,
   and on different bounds.
 * Add fold-right to extra-procs and its type to base-env

original commit: b9e1676a55ab3f8d454a58aa290a0dcb0ecce414
2008-06-19 16:55:06 -04:00
Sam Tobin-Hochstadt
8be54e9a3b Add unit test for dotted instantiation, and add version of
fold-left/fold-right that explicitly instantiates the
recursive call.

original commit: 2a7dbe2a80d34abc5097e144b80bda9965546703
2008-06-19 14:59:19 -04:00
Sam Tobin-Hochstadt
da03725d19 * Split apart identifier typechecking and type instantiation
* Add dotted instantiation (replacing bounds with different bounds)
 * Fix some macro issues, including syntax locations
 * Fix more effect inference

original commit: bb8d8e23d81c7f1324d1bfc8b33882fc71f94503
2008-06-19 14:57:35 -04:00
Sam Tobin-Hochstadt
8e48f42184 Fix test to expecte effects.
Remove useless annotation.

original commit: 36408a32d5526038ecda7c8b05ba844868a0ac5e
2008-06-19 13:23:27 -04:00