Changeset 4688 in project


Ignore:
Timestamp:
06/26/07 22:05:52 (13 years ago)
Author:
arto
Message:

Updated the uri-literals documentation for release 1.0.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/uri-literals

    r4629 r4688  
    1313=== Using URI literals in the interpreter
    1414
    15 Loading {{uri-literals}} also loads the {{uri}} egg and allows using URI
    16 literals as follows:
     15Loading {{uri-literals}} also loads the {{uri}} egg and allows using
     16convenient URI literals as follows:
    1717
    1818<enscript highlight=scheme>#;1> (use uri-literals)
     
    4545
    4646This egg installs a reader extension for {{#\<}} that reads a URI literal as
    47 described below in {{uri-literals:read}}. Additionally, a record printer is
     47described below in {{read-uri-literal}}. Additionally, a record printer is
    4848installed so that all URI objects are automatically printed using
    49 {{uri-literals:write}}.
     49{{write-uri-literal}}.
    5050
    5151Note that there are some caveats to using reader extensions when compiling;
     
    5656== Input and output
    5757
    58 === uri-literals:read
     58=== read-uri-literal
    5959
    60  [procedure] (uri-literals:read [PORT])
     60 [procedure] (read-uri-literal [PORT])
    6161
    6262Reads a URI literal from {{PORT}}, which defaults to the value of
     
    6464provided by the {{uri}} egg.
    6565
    66 === uri-literals:write
     66=== write-uri-literal
    6767
    68  [procedure] (uri-literals:write URI [PORT])
     68 [procedure] (write-uri-literal URI [PORT])
    6969
    7070Writes the URI object {{URI}} in {{#<uri>}} format to {{PORT}}, which
     
    9797== Version history
    9898
    99 ;1.0.0 : Initial release of uri-literals egg.
     99;1.0.1 : Renamed the exported procedures for greater sanity.
     100;1.0.0 : Initial release of the {{uri-literals}} egg.
Note: See TracChangeset for help on using the changeset viewer.