Ignore:
Timestamp:
09/01/08 04:53:16 (13 years ago)
Author:
Kon Lovett
Message:

Added rqrd Unit files. Bug fixes. Stopped use of long-ish inline procs..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/srfi-29/trunk/srfi-29-eggdoc.scm

    r10096 r11834  
    141141          (p "This procedure should be used with caution.") )
    142142
    143         (procedure "(localized-template PACKAGE-NAME TEMPLATE-NAME [DEFAULT #f])"
     143        (procedure "(localized-template PACKAGE-NAME TEMPLATE-NAME [NOT-FOUND #f])"
    144144          (p "Returns the object for the " (tt "TEMPLATE-NAME") " in " (tt "PACKAGE-NAME") ", "
    145           "when found, otherwise the " (tt "DEFAULT") ".") )
     145          "when found, otherwise the " (tt "NOT-FOUND") ".") )
    146146
    147147        (procedure "(localized-template-set! PACKAGE-NAME TEMPLATE-NAME VALUE)"
    148           (p "Sets the " (tt "VALUE") " for the " (tt "TEMPLATE-NAME") " "
     148          (p "Creates or updates the " (tt "VALUE") " for the " (tt "TEMPLATE-NAME") " "
    149149          "in " (tt "PACKAGE-NAME") " and returns " (code "#t") ", when the package exists. "
    150           "Otherwise returns " (code "#f") ".") )
    151 
    152         (procedure "(localized-template/default PACKAGE-NAME TEMPLATE-NAME [DEFAULT TEMPLATE-NAME])"
    153           (p "Returns " (code "(localized-template PACKAGE-NAME TEMPLATE-NAME DEFAULT)") ".")
     150          "Otherwise returns " (code "#f") ".")
     151
     152          (p "This can be used to extend the meaning of a package template at "
     153          "runtime. For example: caching the actual closure for a named procedure.") )
     154
     155        (procedure "(localized-template/default PACKAGE-NAME TEMPLATE-NAME [NOT-FOUND TEMPLATE-NAME])"
     156          (p "Returns " (code "(localized-template PACKAGE-NAME TEMPLATE-NAME NOT-FOUND)") ".")
    154157
    155158          (p "Somewhat like the Posix 'gettext' routine.") )
     
    186189
    187190    (history
     191     (version "1.12.0" "Needed Unit files. Procedure 'localized-format' did not follow specification.")
    188192     (version "1.9.0" "Version increased to force egg update [by Ivan Raikov].")
    189193     (version "1.8.0" "Added 'localized-template-set!'.")
Note: See TracChangeset for help on using the changeset viewer.