Commit Graph

36 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
b7c5360562 `andmap' now works as a predicate in Typed Scheme
svn: r17575

original commit: f13453e8893ed86e7f90a596e80aed9e61755d89
2010-01-08 19:05:58 +00:00
Sam Tobin-Hochstadt
2c76766c1c Move a bunch of functions from typed-scheme/utils/utils to unstable.
Add convenience lib for unstable docs.
Add char support to format-{id,symbol}
Add unstable/sequence library.

svn: r16789

original commit: fb29a2498e964c6d7651ca6cc6a19c07ca28760b
2009-11-15 22:15:29 +00:00
Sam Tobin-Hochstadt
87d48f63ef Remove last uses of stxclass.
svn: r15976

original commit: 5fc019ba6c8d0a9ca21c05c4a92f8476e348f407
2009-09-11 17:49:50 +00:00
Matthew Flatt
dc68f722ee unsafe ops (v4.2.1.8)
svn: r15899

original commit: 8ae0ea9d14716c94f73c5c85f8278934fe85fe15
2009-09-06 18:24:46 +00:00
Sam Tobin-Hochstadt
c315e83375 Handle type ascription and type instantiation better with expected type.
Add remove-ascription
Identify incorrect element of wrongly typed list.
Use function argument types as expected types.
Allow multiple uses of orig-module-stx, older one takes precedence.

svn: r15857

original commit: b3dde2ca7f0e343e207deb2d983785a7fea64a1b
2009-09-01 22:25:35 +00:00
Sam Tobin-Hochstadt
63589b9574 Improve error messages and printing.
Turn off contracts.

svn: r14947

original commit: c27dccb9d8a5e475bc4b592995c183e1d946cd2b
2009-05-22 22:30:24 +00:00
Sam Tobin-Hochstadt
7d38e20994 Avoid spurious quoting.
Use display instead of printf.

svn: r14936

original commit: e92a8dd2f546b2e429e6776b064de119c2593852
2009-05-22 20:23:15 +00:00
Sam Tobin-Hochstadt
bea5e0d9b1 turn printing back on
svn: r14817

original commit: 792bacbd557e6395516f2d1d6686ce527014444e
2009-05-14 18:57:43 +00:00
Sam Tobin-Hochstadt
077ec2440e Handle ValuesDots in check-below.
Fix typo in valuesdots handling in values->tc-results
Handle ValuesDots in do-ret.
Don't try to construct silly wrappers for `apply values'
Don't use rest as list extension if it's #f
Fix tc-result handling for check-subforms/check
Add stronger contracts for Scope
Always generate substitution for infer/dots.
Fix type of `time-apply'

svn: r14815

original commit: 1047f7625d2dfa53d2896fa44fde732873d86ba4
2009-05-14 18:57:02 +00:00
Sam Tobin-Hochstadt
d2bea2a771 Add missing file.
Fix bug in struct type creation.
Add ability to disable printing dynamically.
Fix recursion into objects & paths.

svn: r14747

original commit: dbe5556b45a036e0457dc2f5ae6abcfad31d2947
2009-05-08 19:00:07 +00:00
Sam Tobin-Hochstadt
783581aa49 Handle polymorphic function application.
Paths work with car/cdr.
Fix #%require/#%provide top-level handling.

svn: r14735

original commit: 50696a08a31258428edf4af9d58c84d763a2bc17
2009-05-06 22:45:12 +00:00
Sam Tobin-Hochstadt
7a07559474 Various constants are true.
Remove useless code.
`combine-filter' now handles producing the new type/object in appropriate cases.
Move student expansion later in pattern match.
Print out top-level tc-results.

svn: r14721

original commit: 6b89062d6a2e6b35fb24c71d7f0fb839d49546b1
2009-05-05 16:27:18 +00:00
Sam Tobin-Hochstadt
4255e1dfab Add `single-value' function, should be used more.
Construct returns correctly in lam-result->type
Add typechecking for `values' applications.
Extend `ret' to handle dty/dbound.
Define conversions from/to values <-> results
Handle multiple values at the repl.

svn: r14665

original commit: 91f5c269642ec9ecc62efabcc83131db539fcedd
2009-04-29 22:54:29 +00:00
Sam Tobin-Hochstadt
4329ac34db Lots more fixes
svn: r14631

original commit: 9853ae1f0f0d7c4791bc2237ab8183f6102ffa50
2009-04-27 21:16:34 +00:00
Sam Tobin-Hochstadt
c6ccbfc76d Remove some old debugging printfs in soon-to-be-dead code.
Fix some requires.
Start implementing metafunctions.
Strengthen contracts on filter-sets.
Rename N B Sym.

svn: r13988

original commit: 6c30e2d9e7c9d983f97092ad3aad8268e0560cb5
2009-03-06 19:50:42 +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
28ca599959 Reorg to separate out files.
svn: r11857

original commit: 15e7be91f5bd27294be48d4d22bb15ef0e5b7d16
2008-09-24 19:56:48 +00:00
Sam Tobin-Hochstadt
f54d163224 reorg
original commit: 5ac64589baffabf3e7045e5c0c877a1c484207ea
2008-09-09 17:40:26 -04:00
Sam Tobin-Hochstadt
aa2a031828 progress
original commit: 85a0fa22d10e17df8a9d0dc1dcff56c2cc9a43a2
2008-09-02 20:25:23 -04:00
Sam Tobin-Hochstadt
eda70bdaf9 Provide some names
svn: r11114

original commit: 24a98cf0618fc3b0593c4a355f6355064a30d404
2008-08-06 20:48:02 +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
Sam Tobin-Hochstadt
18810e108a logging
original commit: 2866efd3485b19c98dd858b1db7e09928f0213c6
2008-07-14 08:48:14 -04:00
Sam Tobin-Hochstadt
8d9ca01cf5 Source location in synthetic module begin.
original commit: 055eb3cd0b2b1f57d79808c40e3dc5566b94d65b
2008-06-16 16:34:09 -04:00
Sam Tobin-Hochstadt
459a5f8f8e Implement dmap operations.
Remove lots of unneeded requires.
Add in-list-forever and extend to utils.ss
Add optional variable argument to c-meet.

original commit: e2c0b4e6427ba184e2204f4f7be96f8a09b3430e
2008-06-12 17:10:31 -04:00
Sam Tobin-Hochstadt
9e78ce0847 Switch subtype to use infer.ss for unification.
original commit: 606ef69d205499ad6071d3a0e1d228938c5299b1
2008-06-10 15:05:13 -04:00
Sam Tobin-Hochstadt
4a328d1314 Add namespace ops.
Check if typecheck returned nothing for top-level form.
Improve error message.

svn: r10160

original commit: 1da9a0c4b84ea15e608a83028c07c75885082b29
2008-06-05 21:36:45 +00:00
Sam Tobin-Hochstadt
f7e9881b1d Reduce quantity of requires.
svn: r9665

original commit: dbc3fa436750cf7182093a3a8a2d448ed770fe80
2008-05-05 21:27:10 +00:00
Sam Tobin-Hochstadt
9e1c812b06 Improve the type of andmap.
Steps toward reducing the number of initializations.

svn: r9612

original commit: fd44d9b01ff4d50042e757d9e2f76dae046237bd
2008-05-02 23:35:37 +00:00
Sam Tobin-Hochstadt
4664fc9a4f Use library nest.
svn: r9598

original commit: 97715dc9fbebf203d5baf90a7fcedcb4c5ae9cf1
2008-05-02 18:03:05 +00:00
Sam Tobin-Hochstadt
ba48e257f0 Fix new inference algorithm to handle all test cases.
svn: r9538

original commit: 8307bf835b23160b58b52c50815997f5fd8e11e8
2008-04-29 21:42:37 +00:00
Sam Tobin-Hochstadt
2e2f299a10 Don't print "checked foo".
Improve names in recursive contracts.

svn: r9298

original commit: 1039055628225ebed52d0b45a2fa22d782905108
2008-04-14 18:13:59 +00:00
Sam Tobin-Hochstadt
51b7de58e8 Split type defns into base-types.ss
Reformat.

svn: r9273

original commit: f23af68d6b0bbc9a82f8fea2178e5e7dfaf2d459
2008-04-12 00:10:32 +00:00
Eli Barzilay
53b8945aa2 misc things
svn: r8866

original commit: 5ff5d6c58005f8276e4517079ded454205359aba
2008-03-04 02:46:54 +00:00
Sam Tobin-Hochstadt
7f2824d11c Add Typed Scheme as a collection.
svn: r8864

original commit: 0d54ed5e7427f5e75e6274cc3c9625e676fc34bc
2008-03-03 22:57:55 +00:00