Stevie Strickland
88a6038705
Grab Matthew's addition of objscheme_unwrap so I can see about making
...
object contracts work even for primitive things.
svn: r18298
2010-02-23 14:10:34 +00:00
Carl Eastlund
1d6111c532
Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
...
svn: r18259
2010-02-22 02:51:16 +00:00
Stevie Strickland
a0769da5ea
Add the contract shorthands for -> and ->* to use for methods where we don't
...
care about properties of this.
svn: r18248
2010-02-21 02:54:06 +00:00
Stevie Strickland
e72928d444
Yeah, I should add augride here.
...
svn: r18242
2010-02-21 00:26:58 +00:00
Stevie Strickland
c6e671581f
Want to call this something more generic, as method contracts have specific
...
restrictions, but contracts on fields do not.
svn: r18241
2010-02-21 00:22:37 +00:00
Stevie Strickland
ffa34e1f7d
Add augride, which is like augment but enables the contract writer to give
...
subclasses an idea of whether a method can be augmented (augment) or whether
a method augmentation can be overridden (augride).
svn: r18240
2010-02-21 00:17:42 +00:00
Stevie Strickland
5df617e4d4
Forgot to add this to the literals list.
...
svn: r18239
2010-02-20 23:45:55 +00:00
Stevie Strickland
d67058c1ac
Document inherit.
...
svn: r18238
2010-02-20 22:58:21 +00:00
Stevie Strickland
6ae1a713df
One more small edit.
...
svn: r18231
2010-02-20 21:06:59 +00:00
Stevie Strickland
50482d7016
Small fixes, go back to the original section title.
...
svn: r18230
2010-02-20 21:06:22 +00:00
Stevie Strickland
7e5e4a50fa
Check in an initial cut of class/c documentation.
...
svn: r18229
2010-02-20 20:32:17 +00:00
Robby Findler
ac2c537b8f
clarified bitwise-bit-field and bitwise-bit-set?
...
svn: r18225
2010-02-20 15:20:27 +00:00
Matthew Flatt
eb46f95246
doc corrections
...
svn: r18224
2010-02-20 14:58:10 +00:00
Matthew Flatt
e38e8d88e0
basic set library
...
svn: r18222
2010-02-20 13:00:48 +00:00
Jay McCarthy
c2bfa60e31
Adding documentation for symbol-unreadable?
...
svn: r18133
2010-02-17 22:02:24 +00:00
Matthew Flatt
91d725fbb9
add optional initialization argument to make-hash (and variants)
...
svn: r18120
2010-02-17 17:44:29 +00:00
Matthew Flatt
6f0d6b28de
some mz and ffi changes from the mr2 branch
...
svn: r18099
2010-02-16 17:55:28 +00:00
Jon Rafkind
21b98bb2fa
add example for "with-syntax"
...
svn: r18038
2010-02-10 17:49:26 +00:00
Stevie Strickland
c1f7ba9042
Add ellipses to the compound-unit, compound-unit/infer grammars for the
...
import parts of link clauses.
svn: r18036
2010-02-10 16:15:45 +00:00
Robby Findler
8228482d86
fixed up the regexp-match contracts to make them more specific
...
svn: r18030
2010-02-09 16:03:03 +00:00
Jon Rafkind
e5fd8a904c
document latest generator functionality
...
svn: r18022
2010-02-08 19:47:41 +00:00
Carl Eastlund
fe40d3e888
Merged changes from trunk.
...
svn: r18007
2010-02-06 19:23:24 +00:00
Carl Eastlund
17f83a5a54
Corrected contract of datum->syntax source locations.
...
svn: r17997
2010-02-05 20:49:10 +00:00
Eli Barzilay
c88a5a6856
A bunch of additional typos
...
svn: r17976
2010-02-05 03:21:52 +00:00
Carl Eastlund
137f9a3279
Fixed bugs in contract construction examples.
...
svn: r17963
2010-02-04 02:17:15 +00:00
Carl Eastlund
a4a25ba1e9
Wrote documentation for new contract interface. Still needs proofreading, etc.
...
svn: r17961
2010-02-03 21:02:02 +00:00
Carl Eastlund
d7a7409fe0
Merged changes from the trunk.
...
svn: r17954
2010-02-03 15:15:11 +00:00
Carl Eastlund
87712b0dd2
Clarified the recursive behavior of datum->syntax on hash tables and prefab structs.
...
svn: r17936
2010-02-02 01:33:39 +00:00
Matthew Flatt
5433c57504
wrap each top-level form in a module with a prompt
...
svn: r17917
2010-01-31 17:04:55 +00:00
Carl Eastlund
a2226c965a
Updated documentation for "contract" form.
...
svn: r17910
2010-01-31 04:30:55 +00:00
Matthew Flatt
bcadf5ac69
doc improvements: some details on reachability for weak references; module example in insidemz; clarification for 'read-language' related to readtables and #reader
...
svn: r17905
2010-01-31 01:10:56 +00:00
John Clements
11c87c75e1
minor typo fix an/and
...
svn: r17866
2010-01-28 18:09:52 +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
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
c22810cef1
Fixing two typos found by pdedede
...
svn: r17615
2010-01-12 02:37:22 +00:00
Jon Rafkind
e9165f30fe
document latest scheme/generator functions
...
svn: r17613
2010-01-11 22:22:51 +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
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
Matthew Flatt
dff26c2e22
doc fixes (PRs 9971, 10168)
...
svn: r17566
2010-01-08 14:14:16 +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
68efb4008a
normalized the results of procedure-arity
...
svn: r17504
2010-01-06 19:34:29 +00:00
Sam Tobin-Hochstadt
1cca4008f7
update match grammar
...
svn: r17482
2010-01-05 14:48:30 +00:00
Matthew Flatt
38d7e8fea2
built-in fixnum ops; bug fix related to misuse of flonum ops; questionable attempt to improve inlining algorithm
...
svn: r17461
2010-01-02 16:33:28 +00:00
Matthew Flatt
e68aabd67a
change expand and local-expand to lift certificates
...
svn: r17439
2009-12-30 17:27:38 +00:00
Robby Findler
fb6daf8c0c
added caveat about slowness
...
svn: r17394
2009-12-24 18:37:02 +00:00
Robby Findler
195d608fe5
added scheme/fixnum
...
svn: r17391
2009-12-23 15:41:40 +00:00
Stevie Strickland
fb85388288
Add this%, which is the class counterpart of the object reference "this".
...
svn: r17359
2009-12-19 20:56:40 +00:00
Matthew Flatt
0a1e4e6e83
fix an allocation in bytecode compiler; add flvector equality
...
svn: r17353
2009-12-18 21:53:02 +00:00
Matthew Flatt
fdd7122994
scheme/flonum (v4.2.3.8)
...
svn: r17348
2009-12-18 15:40:00 +00:00
Matthew Flatt
ff81d89c52
guarantee current-inexact-milliseconds as since Jan 1, 1970
...
svn: r17343
2009-12-17 20:47:40 +00:00
Mike Sperber
a3ae03861b
Typo fixes.
...
svn: r17336
2009-12-17 14:52:13 +00:00
Mike Sperber
56c6ae78f7
Typo fix fix.
...
svn: r17335
2009-12-17 14:35:02 +00:00
Mike Sperber
6a1b831ab8
Typo fix.
...
svn: r17334
2009-12-17 14:34:01 +00:00
Matthew Flatt
45e84ca087
unboxing of let-bound flonums (v4.2.3.6)
...
svn: r17328
2009-12-16 13:30:40 +00:00
Mike Sperber
0c03246daa
Fix xref.
...
svn: r17268
2009-12-11 16:50:58 +00:00
Sam Tobin-Hochstadt
c8c9bd0556
Add `in-bytes-lines'
...
svn: r17261
2009-12-10 17:01:53 +00:00
Eli Barzilay
eb95fbfda3
two more typos like the ones ryan fixed earlier
...
svn: r17219
2009-12-06 00:17:23 +00:00
Eli Barzilay
1b5ab0b46a
several typos in the vectors docs (PR10642), also some in list docs
...
svn: r17218
2009-12-06 00:15:21 +00:00
Ryan Culpepper
63469d2f3d
scribblings: fixed misc doc typos
...
syntax/id-table: disabled debugging code
svn: r17215
2009-12-05 22:02:46 +00:00
Robby Findler
ada899f158
added more examples and tests for order-of-magnitude
...
svn: r17212
2009-12-05 20:38:38 +00:00
Matthew Flatt
aacffcc2bf
fix docs on collection paths (PR 10641)
...
svn: r17186
2009-12-04 22:01:43 +00:00
Matthew Flatt
4eef1b3cee
flvectors
...
svn: r17177
2009-12-03 16:42:32 +00:00
Eli Barzilay
3d9c4b0ac5
Added --addon'/
-A', in addition to $PLTADDONDIR from revision 17121.
...
svn: r17136
2009-12-01 15:11:45 +00:00
Sam Tobin-Hochstadt
ca5f5656c0
document `file->list'
...
fix typos in contracts.
svn: r17134
2009-12-01 14:33:09 +00:00
Ryan Culpepper
d36297d176
reference: added spacing in sequence boilerplate macro
...
Please propagate to release branch if possible.
svn: r17129
2009-12-01 07:57:33 +00:00
Eli Barzilay
2fd3c23393
Undo this change. Like I said on the list, it is wrong to poll the
...
environment variable every time it is accessed (especially given that
there will be a command-line option for this). I'll commit a proper
thing later tonight if I get to it.
svn: r17122
2009-12-01 02:16:19 +00:00
Carl Eastlund
b4a32ddc1c
Merged changes from branches/cce/plt+addon-dir:
...
- Added PLTADDONDIR environment variable to control the location of
generated files from Planet and Scribble, specifically by overriding
the result of (find-system-path 'addon-dir).
- Updated documentation of find-system-path to report this change.
svn: r17121
2009-12-01 02:10:50 +00:00
Matthew Flatt
06288a8b7f
procedure-rename special treatment of struct accessors & mutators
...
svn: r17093
2009-11-29 15:53:08 +00:00
Matthew Flatt
f03ab78c40
another syntax hack to fix 'scheme/package'; other test corrections
...
svn: r17075
2009-11-27 02:12:27 +00:00
Matthew Flatt
61dd4ca0b9
add unsafe-f64vector-{ref,set!} and improve JIT to inline arithmetic ops with more than 2 arguments
...
svn: r17068
2009-11-26 15:07:16 +00:00
Jon Rafkind
91d4240765
add some examples
...
svn: r17052
2009-11-24 23:14:18 +00:00
Carl Eastlund
958e3418aa
Added caveat in Reference to "7.5 Building New Contract Combinators" and its
...
subsection "7.5.1 Contracts as structs" stating:
"Note: The interface in this section is unstable and subject to change."
This is in preparation for a new implementation of contract properties.
svn: r17014
2009-11-23 21:21:40 +00:00
Stevie Strickland
2a7664eba8
Fix up docs for flat-named-contract.
...
svn: r16929
2009-11-20 21:35:26 +00:00
John Clements
89a388c6f7
added examples for expand
...
svn: r16847
2009-11-17 20:29:47 +00:00
Eli Barzilay
518a9d2df1
added path-up to scheme/require
...
svn: r16824
2009-11-17 08:11:44 +00:00
Sam Tobin-Hochstadt
0ae5843f11
Add unstable/match with == match expander.
...
Add 'match expander' tech def.
svn: r16814
2009-11-16 16:58:11 +00:00
Eli Barzilay
b1f5b0652c
new kinds of promises
...
svn: r16807
2009-11-16 11:06:47 +00:00
Jon Rafkind
f0d5ba438c
add more pair/list examples
...
svn: r16797
2009-11-16 04:46:49 +00:00
Jon Rafkind
860a36d499
add examples for all c-r shortcuts
...
svn: r16795
2009-11-16 04:04:58 +00:00
Jon Rafkind
c991ada1e7
add examples for pairs
...
svn: r16794
2009-11-16 02:40:45 +00:00
Sam Tobin-Hochstadt
fb29a2498e
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
2009-11-15 22:15:29 +00:00
Matthew Flatt
c34d5f3776
revised docs for 'delay', which now accepts a body sequence instead of a single expression
...
svn: r16783
2009-11-15 14:25:49 +00:00
Jon Rafkind
2683cecd17
add some examples for for-meta'
...
svn: r16668
2009-11-10 21:22:05 +00:00
Matthew Flatt
a9345c4fe1
fix typo and explicitly close scheme/vector example evaluator
...
svn: r16650
2009-11-10 12:34:54 +00:00
Sam Tobin-Hochstadt
99a70b38d8
Move mutated-vars and poly-c libraries to unstable collection.
...
- add docs
- change requires
- fix `letrec-syntaxes+values'
Fix contract on `author+email'
svn: r16628
2009-11-09 02:29:02 +00:00
Matthew Flatt
7cce5c98a3
further clarify performance guarantee of immutable hash tables
...
svn: r16620
2009-11-08 19:06:57 +00:00
Robby Findler
667e967085
added order-of-magnitude from Jos Koot and some tests for other scheme/math stuff
...
svn: r16607
2009-11-07 14:26:39 +00:00
Sam Tobin-Hochstadt
dcb5f5cfb1
Types for all functions documented in reference/vector.scrbl
...
Fix docs for vector-arg{min,max}.
svn: r16602
2009-11-07 07:11:00 +00:00
Eli Barzilay
69e90b7ef3
#:key argument to remove-duplicates
...
svn: r16587
2009-11-06 22:32:53 +00:00
Robby Findler
bf911e8c7a
bare bones documentation of the contract library's struct properties
...
svn: r16585
2009-11-06 22:31:46 +00:00
Robby Findler
eedffbca23
minor tweak to an example
...
svn: r16543
2009-11-04 17:22:48 +00:00
Mike Sperber
a2de64c9ba
Doc typo fix.
...
svn: r16516
2009-11-03 10:38:22 +00:00
Sam Tobin-Hochstadt
149e695a55
New `scheme/vector' library.
...
svn: r16511
2009-11-03 04:16:48 +00:00
Matthew Flatt
70560372b7
unsafe-{string,bytes}-{ref,set,length}
...
svn: r16490
2009-10-31 02:19:57 +00:00
Matthew Flatt
973d51c20f
change 'read-language' protocol so that the result from 'get-info' accepts a key plus default value (instead of just a key)
...
svn: r16459
2009-10-29 23:05:56 +00:00
Sam Tobin-Hochstadt
653d0ccd66
Add in-port',
port->list', `file->list'.
...
Add documentation, tests for above.
Allow procedure argument to `fold-files' to return 2 values in all cases.
Document, test.
svn: r16453
2009-10-29 18:49:34 +00:00
Matthew Flatt
06ce50d51a
fix contract of 'read-language'
...
svn: r16446
2009-10-28 18:58:59 +00:00
Robby Findler
4ddbe71e2d
fixed the comparison contracts so they work right wrt to complex numbers
...
svn: r16445
2009-10-28 16:04:39 +00:00
Danny Yoo
6f4b44916b
fixing typo.
...
svn: r16440
2009-10-27 17:10:14 +00:00
Stevie Strickland
dbf380208a
read-line -> read-line-evt
...
svn: r16384
2009-10-20 17:37:19 +00:00