Matthew Flatt
c83df32440
try to improve docs for `make-keyword-procedure'
2012-03-31 07:45:53 -06:00
Matthew Flatt
7be0c8236f
fix `procedure-reduce-keyword-arity' checking
...
and clarify need for distinct keywords in parts of the
documentation
2011-07-14 17:07:18 -06:00
Matthew Flatt
a7deb516f7
minor doc style corrections
2011-07-04 16:48:25 -06:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
56423f330e
`procedure-arity-includes?' reports #f for keyword-requiring procs
...
by default; a new optional argument restores the old behavior
(but the default behavior is consistent with the old docs and with
the vast majority of existing uses)
The implementation is ugly for performance reasons. A new primitive
`prop:arity-incomplete' property determines when to return #f for
`procedure-arity-includes?' in default mode. A nicer implementation
would be to redefine `procedure-arity-includes?' at the kw-proc level,
but the bytecode optimizer's and JIT's treatment of the built-in
`procedure-arity-includes?' is important. The implementation choice
could be revisited after cross-module inlining is implemented.
Closes PR 11978
2011-06-16 12:36:16 -06:00
Eli Barzilay
be84425bd0
Rewrite compose' and add
compose1'.
...
The new version fixes some problems with the previous one, most notably
it can create a keyworded function when the last input is is keyworded.
`compose1' is a restricted variant that requires single values in the
composed pipeline -- besides being potentially faster (probably more
if/when there is cross module inlining), it has a semantical
justification, similar to the restricting function call arguments to
return single values, with similar robustness benefits. The
implementation of both is done in a generalized way, and the results can
be faster for both `compose' and `compose1'. (Not by much -- 20% and
30% resp.)
One thing that it could do is to reduce the resulting arity to match the
last given function. I didn't do this since it adds a significant
overhead to the result. (No strong opinion on doing that...)
2011-06-14 19:02:30 -04:00
Eli Barzilay
40a88b6037
Fix TR docs wrt to `racket/function' change, close evaluators, fix
...
copy/paste typo in `thunk' docs.
2011-06-07 13:07:46 -04:00
Eli Barzilay
313e4e75fc
Better section heading
2011-06-07 03:40:13 -04:00
Eli Barzilay
17b6ffa731
Move thunk' from
unstable/function' into `racket/function'.
...
Actually, the new `thunk' is a nullary function, which I think is very
popular expectation for the name. Since there are possible uses for the
any-arity version, it's added too, as `thunk*'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
a70ef57f02
Move identity' from
unstable/function' into `racket/function'.
2011-06-07 03:38:06 -04:00
Matthew Flatt
3bb120545f
fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
...
--- but Gwyth's amazingly helpful review of chapters 1-11
pointed out a few problems that are more difficult to fix
and are still pending
2011-01-04 09:53:31 -07:00
Eli Barzilay
c4f67b3e74
Small typos, some reformatting.
...
Fixes PR10920
2010-05-21 16:30:16 -04:00
Matthew Flatt
c7e723eef7
somewhat rackety core docs
2010-04-22 15:10:25 -06:00
Matthew Flatt
b2d65a1b95
fix the interaction of chaperones, keywords, and the whole zoo of reflective procedure operations
...
svn: r18711
2010-04-01 13:14:50 +00:00
Stevie Strickland
cd3499dea5
Initial cut at documentation.
...
svn: r18495
2010-03-09 23:22:35 +00:00
Robby Findler
68efb4008a
normalized the results of procedure-arity
...
svn: r17504
2010-01-06 19:34:29 +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
Matthew Flatt
06288a8b7f
procedure-rename special treatment of struct accessors & mutators
...
svn: r17093
2009-11-29 15:53:08 +00:00
Matthew Flatt
345c17e85c
major Scribble revision (v4.2.1.2)
...
svn: r15569
2009-07-25 20:25:33 +00:00
Matthew Flatt
ab1db74ecc
more keyword-argument performance improvements, including general fast path for applying simple applicable-struct wrappers over plain procedures
...
svn: r15403
2009-07-08 13:57:16 +00:00
Eli Barzilay
a1d943146b
added a nullary case to compose
...
svn: r14697
2009-05-03 20:41:37 +00:00
Eli Barzilay
3ca6ac2175
added stupid make-list and stupid const
...
svn: r14693
2009-05-03 16:17:48 +00:00
Eli Barzilay
c0a8a01222
Changed @itemize{...} to @itemize[...] (done after comparing the doc
...
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)
svn: r14427
2009-04-05 17:46:20 +00:00
Matthew Flatt
87274b2a97
procedure-rename
...
svn: r12952
2008-12-30 14:36:25 +00:00
Matthew Flatt
c73bb99cf6
fix struct type immutable-field handling and checking of prop:procedure values (PR 9914 and more)
...
svn: r12454
2008-11-15 02:49:54 +00:00
Matthew Flatt
37aae202c5
speed up doc build a little; fix bugs related to getting continuation marks from a thread and using the errortrace profiler
...
svn: r12237
2008-11-04 23:32:44 +00:00
Matthew Flatt
077e5a4666
change reference and some other docs to use #f instead of false/c and or/c insteda of one-of/c
...
svn: r12023
2008-10-13 19:45:37 +00:00
Matthew Flatt
2c813c53c5
fix '(nonnegative|positive)-exact-integer?' contracts (moving 'exact-' to the front where it belongs)
...
svn: r10960
2008-07-29 12:56:05 +00:00
Matthew Flatt
763d37d775
properties can now effectively inherit properties (v4.0.2.5)
...
svn: r10848
2008-07-21 17:04:25 +00:00
Carl Eastlund
e03b419c10
Fixed documentation for make-keyword-procedure: default for plain-proc uses apply, not keyword-apply.
...
svn: r10477
2008-06-27 14:10:36 +00:00
Matthew Flatt
7ae0f500ae
add and use close-eval to reduce memory use when rendering reference and guide
...
svn: r9981
2008-05-27 17:20:24 +00:00
Matthew Flatt
5205f45c50
doc corrections
...
svn: r9857
2008-05-15 19:19:18 +00:00
Matthew Flatt
5a3e7682f4
doc tweaks
...
svn: r9432
2008-04-23 17:16:29 +00:00
Eli Barzilay
1b552354a6
Use @(interaction-eval ...) instead of @interaction-eval[...].
...
svn: r9429
2008-04-23 16:47:17 +00:00
Matthew Flatt
e25e7a1098
keyword in methods and apply; procedure-reduce-keyword-arity
...
svn: r9396
2008-04-22 18:00:04 +00:00
Eli Barzilay
289683eae1
text clarification from Matthew
...
svn: r9054
2008-03-22 01:32:32 +00:00
Eli Barzilay
7f9dd9775f
more tweaking
...
svn: r9051
2008-03-22 00:21:47 +00:00
Eli Barzilay
fde62e2630
minor tweaks
...
svn: r9050
2008-03-22 00:16:26 +00:00
Matthew Flatt
34d83b3551
change module-path? for planet path shorthand; doc edits
...
svn: r9048
2008-03-21 23:46:42 +00:00
Eli Barzilay
d88c6c476a
* Better versions of curry/r and negate, doc improvements, tests
...
svn: r9043
2008-03-21 17:55:29 +00:00
Eli Barzilay
d6cbe2b09f
* New scheme/function module (added by mistake on the previous commit)
...
* Added it to scheme/main
* Documented it
svn: r9018
2008-03-18 14:37:04 +00:00
Eli Barzilay
264af9a6d0
improved scribble syntax use
...
svn: r8720
2008-02-19 12:22:45 +00:00
Danny Yoo
ab3dee3d0e
Added #:mutable to fish example in procedures.scrbl.
...
svn: r8517
2008-02-03 04:09:16 +00:00
Matthew Flatt
5c76cb507e
finish mz docs
...
svn: r8123
2007-12-26 02:58:13 +00:00
Matthew Flatt
67752bc435
add 'last' field to picts, and document slideshow/code
...
svn: r8033
2007-12-17 00:28:20 +00:00
Robby Findler
57fa5d8e66
fixed a typo
...
svn: r8027
2007-12-16 04:43:24 +00:00
Robby Findler
44d76d4c9a
fixed a typo
...
svn: r8026
2007-12-16 04:38:40 +00:00
Matthew Flatt
f12a39d97b
added scheme/help
...
svn: r8016
2007-12-15 18:02:05 +00:00
Matthew Flatt
bd7ced966e
add 'compose' to scheme/base; switch Help Desk to a mzscheme app
...
svn: r7979
2007-12-12 22:17:09 +00:00