Commit Graph

151 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
fe7eb33c59 Fix time-apply, add test
svn: r12727

original commit: dd8e878cb442a7b9e6b7204552a3856073b6131d
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
f168aa06c3 Add `current-continuation-marks'
Add some exns
Test require substructs

svn: r12726

original commit: 238b248ad5304189396008634e8a62780fb8fb7f
2008-12-08 03:10:12 +00:00
Sam Tobin-Hochstadt
df8d714918 Enable require-typed-struct with substructures.
Fixes PR 9053.
Move test to succeed.
Add some new bindings.

svn: r12709

original commit: e6eb482de48b8d82a09a9a18db71a2879a5e620a
2008-12-05 00:25:02 +00:00
Sam Tobin-Hochstadt
54035a23e6 bindings for the rest of scheme/bool
svn: r12548

original commit: e27ae4d4577ee78df53fb6afee0152007112e244
2008-11-20 22:30:29 +00:00
Sam Tobin-Hochstadt
bf579f30e7 Add scheme/tcp bindings.
svn: r12516

original commit: a4ac14b124cb70127897fcb117d4d9312ab17518
2008-11-19 22:50:10 +00:00
Sam Tobin-Hochstadt
3f501c1a2f Handle (Instance Foo) where Foo is unbound.
Return correct error behavior.

svn: r12410

original commit: 541a47f7fd943f77f82983bd52a837db47b736a8
2008-11-12 15:59:24 +00:00
Sam Tobin-Hochstadt
2a450f220f Store contract in Base type representation.
Fix tests, pattern matches.
Contract is *ignored* in equality testing.

svn: r12227

original commit: 477fa5581e1c9923df030e0eea86a62c367f014f
2008-11-03 23:58:29 +00:00
Sam Tobin-Hochstadt
ea2ca9402c Reorganize initial type definitions to use DSL.
Split special type names into base-types-extra.ss
Fix test require.
Base types are now require in main.ss

svn: r12203

original commit: e69f6e126ad851175ea2ca8ce5f8381d238d1a40
2008-10-31 17:12:16 +00:00
Sam Tobin-Hochstadt
3e692e993e Less polymorphic type for `syntax->datum'.
svn: r12163

original commit: c4d183fcfc7f405e50a7593485011cbc717be3ef
2008-10-28 22:40:43 +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
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
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
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
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
a2f34edb53 rename holder -> keep
svn: r11932

original commit: 8d06e0c707295a6dee60e722dfafe40c4e2d7992
2008-10-04 19:10:38 +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
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
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
c08c477ba6 provide tc-result? for contracts
svn: r11734

original commit: 302e28da620581ce928a346e43f9d3109c694f0c
2008-09-13 22:48:19 +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
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