racket/collects/scribblings/reference
Noel Welsh cfa7b727f4 Fix some errors with in-vector and derived forms:
- Range checking was inconsistent between the sequence and macro forms
- The macro form could crash due to unsafe vector refs

Fixes involved refactoring the range checks so they are shared between both versions, and changing the contract slightly so start and stop are checked before the sequence runs. This allows unsafe vector refs and earlier error notifications at the cost making some valid programs (e.g. those using some condition to stop a comprehension hitting an invalid index) now be invalid. Only crazy people would rely on the old behaviour, so it isn't a problem in practice.
2010-12-13 13:38:35 +00:00
..
async-channels.scrbl More reformatting 2010-05-21 20:41:35 -04:00
block.scrbl internal-definition contexts allow expressions mixed with definitions 2010-07-07 13:56:16 -06:00
booleans.scrbl v5.0.99.2: proxy' -> impersonator' 2010-11-08 06:23:16 -07:00
breaks.scrbl rackety reference; any lingering reference to racket as scheme is a doc bug 2010-04-27 08:20:16 -06:00
bytes.scrbl Places: added shared-flvector and shared-byte string 2010-08-30 08:50:07 -06:00
channels.scrbl More reformatting 2010-05-21 20:41:35 -04:00
chaperones.scrbl fix doc typo 2010-11-12 15:28:57 -07:00
chars.scrbl reference racket conversions and scribble qq repairs 2010-04-23 17:00:53 -06:00
class.scrbl doc typos 2010-11-24 12:02:46 -07:00
cmdline.scrbl Allow optional arguments with default in `cmdline', updated docs. 2010-11-12 17:21:11 -05:00
code-inspectors.scrbl added clarification on protect-out docs 2010-10-29 12:43:52 -07:00
collects.scrbl A bunch of typo fixes. 2010-08-26 12:11:00 -04:00
concurrency.scrbl Revise places docs to fit the reference-manual style 2010-11-27 18:34:33 -07:00
cont-marks.scrbl print-boolean-long-form, #true, #false, read-accept-lang, flonum? 2010-10-08 15:13:04 -06:00
cont.scrbl allow full continuations to escape past a continuation barrier 2010-07-10 07:31:58 -06:00
contracts.scrbl added forall to go along with exists contracts 2010-11-11 14:39:43 -06:00
control-lib.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
control.scrbl improved scribble syntax use 2008-02-19 12:22:45 +00:00
custodians.scrbl custodian box as synchronizable event 2010-07-04 10:42:38 -06:00
custom-ports.scrbl fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4 2010-01-24 15:30:16 +00:00
custom-write.scrbl change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
data.scrbl More reformatting 2010-05-21 20:41:35 -04:00
debugging.scrbl fix bytecode-writing inconsistencies related to syntax objects and paths 2010-08-17 17:18:24 -06:00
define-struct.scrbl exr -> expr 2010-10-17 21:17:22 -07:00
dicts.scrbl updated dict docs 2010-10-04 11:54:03 -06:00
ellipses-defn.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
ellipses.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
encodings.scrbl rackety reference; any lingering reference to racket as scheme is a doc bug 2010-04-27 08:20:16 -06:00
enter.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
eval-model.scrbl allow full continuations to escape past a continuation barrier 2010-07-10 07:31:58 -06:00
eval.scrbl set `read-accept-lang' to #t by default, plus related adjustments 2010-10-08 19:01:33 -06:00
evts.scrbl custodian box as synchronizable event 2010-07-04 10:42:38 -06:00
exit.scrbl v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
exns.scrbl Some repeated "and and"s and "the the"s, and two more typos. 2010-09-20 15:38:18 -04:00
extras.css major Scribble revision (v4.2.1.2) 2009-07-25 20:25:33 +00:00
extras.tex major Scribble revision (v4.2.1.2) 2009-07-25 20:25:33 +00:00
fasl.scrbl document racket/fasl 2010-10-09 08:15:26 -06:00
file-ports.scrbl Fix open-input-output-file doc. Closes PR 11371. 2010-11-23 14:15:04 -05:00
filesystem.scrbl define-runtime-module-path-index and racket/gui/dynamic fixes 2010-11-05 15:54:46 -06:00
fixnums.scrbl Fix some errors with in-vector and derived forms: 2010-12-13 13:38:35 +00:00
flonums.scrbl Fix some errors with in-vector and derived forms: 2010-12-13 13:38:35 +00:00
for.scrbl allow internal definitions in when', unless', cond, case', `match' 2010-10-12 06:41:49 -06:00
futures.scrbl Revise places docs to fit the reference-manual style 2010-11-27 18:34:33 -07:00
hashes.scrbl r/exact-integer?/fixnum/ 2010-10-17 21:17:23 -07:00
help.scrbl rackety reference; any lingering reference to racket as scheme is a doc bug 2010-04-27 08:20:16 -06:00
include.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
info.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
init.scrbl finish Guide chaper on defining languages 2010-05-14 13:34:23 -06:00
io.scrbl document racket/fasl 2010-10-09 08:15:26 -06:00
load-lang.scrbl rackety reference; any lingering reference to racket as scheme is a doc bug 2010-04-27 08:20:16 -06:00
logging.scrbl racketify reference more 2010-04-26 14:42:33 -06:00
macros.scrbl splicing-syntax-parameterize and docs for scheme/splicing 2008-11-26 21:31:58 +00:00
match-grammar.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
match-parse.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
match.scrbl allow internal definitions in when', unless', cond, case', `match' 2010-10-12 06:41:49 -06:00
memory.scrbl typo 2010-11-30 15:08:16 -07:00
model.scrbl dictionaries 2008-04-21 17:26:35 +00:00
module-reflect.scrbl Small typos, some reformatting. 2010-05-21 16:30:16 -04:00
mpairs.scrbl Adding sequence support for mlists and more sequence xrefs 2010-08-12 14:10:20 -06:00
mz.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
namespaces.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
networking.scrbl fix docs for tcp-addresses and udp-addresses 2010-08-19 16:13:50 -06:00
numbers.scrbl Clarify comment re `fixnum?' non-use at the syntax level, and add a note 2010-11-05 01:48:23 -04:00
os.scrbl v4.0.2.4: logging 2008-07-17 15:20:17 +00:00
package.scrbl rackety reference; any lingering reference to racket as scheme is a doc bug 2010-04-27 08:20:16 -06:00
pairs.scrbl Add shuffle' to racket/list'. 2010-11-12 17:21:11 -05:00
parameters.scrbl More reformatting 2010-05-21 20:41:35 -04:00
paths.scrbl Fixing path-only documentation and adding new test case 2010-07-19 13:56:01 -06:00
pipes.scrbl racketify reference more 2010-04-26 14:42:33 -06:00
places.scrbl Revise places docs to fit the reference-manual style 2010-11-27 18:34:33 -07:00
port-buffers.scrbl More reformatting 2010-05-21 20:41:35 -04:00
port-lib.scrbl fix long line 2010-11-27 16:39:25 -07:00
port-line-counting.scrbl racketify reference more 2010-04-26 14:42:33 -06:00
port-procs.scrbl improved scribble syntax use 2008-02-19 12:22:45 +00:00
ports.scrbl doc read/write closed ports => exn:fail 2009-01-03 12:20:48 +00:00
pretty-print.scrbl fix pretty-print problems, especially related to the custom-write property 2010-08-18 16:13:57 -06:00
printer.scrbl print-boolean-long-form, #true, #false, read-accept-lang, flonum? 2010-10-08 15:13:04 -06:00
procedures.scrbl Small typos, some reformatting. 2010-05-21 16:30:16 -04:00
prog-steps.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
promise.scrbl Various lazy-related fixes etc. 2010-05-21 15:12:16 -04:00
prop-port.scrbl Changed @itemize{...} to @itemize[...] (done after comparing the doc 2009-04-05 17:46:20 +00:00
read.scrbl set `read-accept-lang' to #t by default, plus related adjustments 2010-10-08 19:01:33 -06:00
reader-example.rkt reader examples typo 2010-07-27 10:15:40 -04:00
reader.scrbl set `read-accept-lang' to #t by default, plus related adjustments 2010-10-08 19:01:33 -06:00
readtables.scrbl More reformatting 2010-05-21 20:41:35 -04:00
reference.scrbl further refinments to the ephemeron description 2010-11-30 09:32:58 -07:00
regexps.scrbl Describe Unicode categories, move them to a separate table. 2010-11-01 08:25:35 -04:00
running.scrbl fix bytecode-writing inconsistencies related to syntax objects and paths 2010-08-17 17:18:24 -06:00
runtime.scrbl More reformatting 2010-05-21 20:41:35 -04:00
rx.rkt Reorganize the POSIX entries in a more logical order, fix [:lower:] and 2010-11-01 15:16:13 -04:00
sandbox.scrbl Add `get-user-custodian' to the sandbox. 2010-11-16 14:47:01 -05:00
security-guards.scrbl Changed @itemize{...} to @itemize[...] (done after comparing the doc 2009-04-05 17:46:20 +00:00
security.scrbl chaperones (v4.2.5.3) 2010-03-28 01:10:33 +00:00
semaphores.scrbl change reference and some other docs to use #f instead of false/c and or/c insteda of one-of/c 2008-10-13 19:45:37 +00:00
sequences.scrbl Fix some errors with in-vector and derived forms: 2010-12-13 13:38:35 +00:00
serialization.scrbl document racket/fasl 2010-10-09 08:15:26 -06:00
sets.scrbl remove 0 arg set-union. add workaround to docs 2010-11-29 00:34:57 -07:00
shared.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
splicing.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
startup.scrbl fix reference description of GRacket 2010-11-27 18:47:49 -07:00
string-input.scrbl add notes about reading entire ports 2010-10-27 12:07:36 -06:00
string-output.scrbl More reformatting 2010-05-21 20:41:35 -04:00
string-ports.scrbl More reformatting 2010-05-21 20:41:35 -04:00
strings.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
struct-inspectors.scrbl fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations 2010-04-01 13:14:50 +00:00
struct.scrbl add 'can-impersonate option to `make-struct-type-property' 2010-11-08 14:00:59 -07:00
stx-certs.scrbl change expand and local-expand to lift certificates 2009-12-30 17:27:38 +00:00
stx-comp.scrbl revise examples for bound-identifier=? and free-identifier=? 2010-06-03 17:41:08 -06:00
stx-expand.scrbl added examples for expand 2009-11-17 20:29:47 +00:00
stx-ops.scrbl add `identifier-prune-to-source-module' and use it in contract implementation 2010-06-30 10:40:03 -06:00
stx-param.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
stx-patterns.scrbl show example of nested syntax matching 2010-06-28 14:33:00 -06:00
stx-props.scrbl More reformatting 2010-05-21 20:41:35 -04:00
stx-trans.scrbl More reformatting 2010-05-21 20:41:35 -04:00
subprocess.scrbl drop "www." from "racket-lang.org" urls. 2010-11-09 20:11:14 -05:00
surrogate.scrbl somewhat rackety core docs 2010-04-22 15:10:25 -06:00
sync.scrbl racketify reference more 2010-04-26 14:42:33 -06:00
syntax-model.scrbl small doc improvements on internal definitions 2010-11-07 19:21:03 -07:00
syntax.scrbl small doc improvements on internal definitions 2010-11-07 19:21:03 -07:00
thread-cells.scrbl More reformatting 2010-05-21 20:41:35 -04:00
thread-groups.scrbl racketify reference more 2010-04-26 14:42:33 -06:00
thread-local.scrbl improved scribble syntax use 2008-02-19 12:22:45 +00:00
threads.scrbl More reformatting 2010-05-21 20:41:35 -04:00
time.scrbl microseconds not nano 2010-11-11 15:46:45 -07:00
trace.scrbl fixed bugs in the racket/trace docs (added docs for two exported parameters and fixed a contract) 2010-11-07 15:31:18 -06:00
units.scrbl doc typo 2010-07-26 14:53:45 -05:00
unix-paths.scrbl racketify reference more 2010-04-26 14:42:33 -06:00
unsafe.scrbl v5.0.99.2: proxy' -> impersonator' 2010-11-08 06:23:16 -07:00
values.scrbl improved scribble syntax use 2008-02-19 12:22:45 +00:00
vectors.scrbl generalize `flvector-copy' to support start and end indices 2010-09-17 13:35:01 -06:00
windows-paths.scrbl racketify reference more 2010-04-26 14:42:33 -06:00
write.scrbl print-boolean-long-form, #true, #false, read-accept-lang, flonum? 2010-10-08 15:13:04 -06:00