Commit Graph

91 Commits

Author SHA1 Message Date
Vincent St-Amour
c0d0211ebb Add a function to query how to get a given return type from a function. 2011-07-21 17:06:03 -04:00
Vincent St-Amour
a71db7c15c Document how to start a TR REPL from the command line. 2011-07-21 17:06:03 -04:00
Vincent St-Amour
70e1d63bed Add a function to print whole types.
With this, it's possible to get more information than the simplified
types shown at the REPL. The types are as unwieldy as ever, but you
have to ask for them explicitly.

This is not an adequate long-term solution, and will be replaced by a
"Type Explorer" tool.
2011-07-21 17:06:02 -04:00
Vincent St-Amour
4c5bb1ddaf Change a TR doc example to take two arguments.
Otherwise, the docs don't have any examples for the syntax of
multi-argument functions that doesn't involve polydots.
2011-07-18 11:53:39 -04:00
Vincent St-Amour
f632aa52dd Document Performance Report. 2011-07-15 15:04:58 -04:00
Eric Dobson
30058a5a24 Document legacy form 'values'. Closes PR1145. 2011-07-14 17:06:52 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Stevie Strickland
4f761ddb2f Use fold-left instead of map for an example of a nonuniform vararg function.
Fixes PR12014.
2011-07-01 12:00:35 -04:00
Vincent St-Amour
43efe6adf0 Remove trailing whitespace. 2011-06-30 14:01:47 -04:00
Eric Dobson
f3692eae29 Added support for configurable constructor names in require/typed.
Closes PR11171. Closes PR11194. Closes PR11314.
2011-06-29 17:38:05 -04:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04: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
Sam Tobin-Hochstadt
f6be5447dd Rename to follow TR naming conventions. 2011-06-24 20:20:53 -04:00
Eric Dobson
e4bb1ba7d9 Documented new types and minor corrections. 2011-06-24 20:10:37 -04:00
Sam Tobin-Hochstadt
9dde2a6d39 Document #% forms. 2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
d8c972734d Fix missing documentation of alias forms. 2011-06-21 15:34:50 -04:00
Vincent St-Amour
f9205665e4 Add a section on performance debugging to the TR guide. 2011-06-17 18:18:04 -04:00
Vincent St-Amour
7a4bd387cc Change examples to use prettier types. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
d43c8fc406 Tidy up TR reference. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
1cf57b893c Add note about optimizing structs to the TR docs. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
e3274a3cf7 Add missing word. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
52e14362b5 Split the TR reference into multiple pages. 2011-06-14 17:53:28 -04:00
Vincent St-Amour
589f42feb1 Reorganize TR docs directory. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
b835e8a75b Add myself to the TR doc author list. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
a1787cede4 Document optionality of type annotations for the for: macros. 2011-06-14 17:53:27 -04:00
Vincent St-Amour
d732c12b96 Fix documentation of the for: macros. 2011-06-07 21:15:17 -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
Matthew Flatt
00e17ab51f adjust Guide to warn about performance measurement in DrRacket 2011-05-24 08:02:09 -06:00
Vincent St-Amour
b65054134a Fix TR documentation to use the new location of base env files. 2011-05-17 18:30:54 -04:00
Sam Tobin-Hochstadt
507db7e5a6 Include extra-procs in the #:use-sources. 2011-05-05 19:04:38 -04:00
Sam Tobin-Hochstadt
045fd7a77c Document utility predicates. 2011-05-03 08:15:37 -04:00
Sam Tobin-Hochstadt
551ad63f4e Document many more numeric types, and fix documentation for `typed/scheme' etc. 2011-04-29 13:27:38 -04:00
Sam Tobin-Hochstadt
6a87483f38 Document a bunch of TR types and special forms. 2011-04-28 18:26:07 -04:00
Sam Tobin-Hochstadt
c28f024ae0 Progress on missing docs. 2011-04-28 18:25:22 -04:00
Vincent St-Amour
632e36f751 Add set types to TR.
Original patch by Eric Dobson.
2011-04-28 18:22:39 -04:00
Carl Eastlund
943c1bd6b5 Added Typed Racket reference subsection for syntax object(-related) types:
Syntaxof, Syntax, Identifier, Syntax-E, Sexpof, Sexp, and Datum.
2011-04-27 16:46:20 -04:00
Sam Tobin-Hochstadt
295cb191cf Fix undocumented binding. 2011-04-21 12:23:44 -04:00
Hari Prashanth
7934ac3461 Added some examples to to the TR reference docs.
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-04-18 15:41:50 -04:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Vincent St-Amour
3c081d8fa7 Document the Path-String type. 2011-02-01 18:00:26 -05:00
Vincent St-Amour
5dbc752542 Edit TR's optimizer's docs to reflect that Float-Complex is the only
complex type that can be optimized.
2011-01-31 16:39:15 -05:00
Vincent St-Amour
4b3e621d0f Documented opt-lambda: and popt-lambda:. 2011-01-31 16:39:12 -05:00
Sam Tobin-Hochstadt
25d2827d0d Document ordering in `case-lambda' types.
Closes PR 11394.
2010-12-13 07:26:31 -05:00
Vincent St-Amour
52bd739d00 Added the Float-Complex type for consistency with the new float types.
Inexact-Complex has been kept as a synonym for backward compatibility.
2010-10-12 16:47:45 -04:00
Vincent St-Amour
a59a99c42d Changed the TR numeric tower to use the new flonums. 2010-10-12 16:47:45 -04:00
Vincent St-Amour
d39cb530cf Updated the documentation of TR's optimizer. 2010-10-06 17:32:30 -04:00
Vincent St-Amour
e0bda30738 Documented optional for: and let: annotations. 2010-09-16 13:24:11 -04:00
Vincent St-Amour
a10d145f25 Added annotated versions of the for macros that generate vectors.
They are purposedly left out of the documentation since the typchecker
can't currently handle their expansion.
2010-09-15 20:21:50 -04:00
Sam Tobin-Hochstadt
07227ed8f7 Fix doc typo.
Closes PR 11190.
  Closes PR 11191.
2010-09-13 08:46:56 -04:00
Vincent St-Amour
11e168f01e Fixed a dangling link in the doc. 2010-09-07 16:57:02 -04:00