Changeset 37614 in project


Ignore:
Timestamp:
05/23/19 21:04:54 (3 weeks ago)
Author:
sjamaan
Message:

Re-add docs for cond-expand

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/5/Extensions to the standard

    r36926 r37614  
    1919
    2020CHICKEN provides numerous non-standard procedures. See the manual
    21 sections on the included library modules ([[Included modules]]) for more information.
     21sections on the included library modules ([[Included modules]]) for
     22more information.  Here we only document {{cond-expand}} because it is
     23always present in a module, even without imports.
     24
     25==== cond-expand
     26
     27<macro>(cond-expand FEATURE-CLAUSE ...)</macro>
     28
     29Expands by selecting feature clauses. This form is allowed to appear in non-toplevel expressions.
     30
     31Predefined feature-identifiers are "situation" specific:
     32
     33; compile : {{chicken}}, {{compiling}}, {{library}}, {{eval}}, {{extras}}, {{regex}}, {{srfi-0}}, {{srfi-2}}, {{srfi-4}}, {{srfi-6}}, {{srfi-8}}, {{srfi-9}}, {{srfi-10}}, {{srfi-11}}, {{srfi-12}}, {{srfi-15}}, {{srfi-16}}, {{srfi-17}}, {{srfi-23}}, {{srfi-26}}, {{srfi-28}}, {{srfi-30}}, {{srfi-31}}, {{srfi-39}}, {{srfi-55}}, {{srfi-61}}, {{srfi-62}}
     34
     35; load : {{chicken}}, {{extras}}, {{srfi-0}}, {{srfi-2}}, {{srfi-6}}, {{srfi-8}}, {{srfi-9}}, {{srfi-10}}, {{srfi-12}}, {{srfi-17}}, {{srfi-23}}, {{srfi-28}}, {{srfi-30}}, {{srfi-39}}, {{srfi-55}}, {{srfi-61}}, {{srfi-62}}. {{library}} is implicit.
     36
     37; eval : {{csi}}, {{chicken}}, {{extras}}, {{srfi-0}}, {{srfi-2}}, {{srfi-6}}, {{srfi-8}}, {{srfi-9}}, {{srfi-10}}, {{srfi-11}}, {{srfi-12}}, {{srfi-15}}, {{srfi-16}}, {{srfi-17}}, {{srfi-23}}, {{srfi-26}}, {{srfi-28}}, {{srfi-30}}, {{srfi-31}}, {{srfi-39}}, {{srfi-55}}, {{srfi-61}}, {{srfi-62}}. {{library}} is implicit.
     38
     39The following feature-identifier classes are available in all situations: {{(machine-byte-order)}}, {{(machine-type)}}, {{(software-type)}}, {{(software-version)}}, where the actual feature-identifier is platform dependent.
     40
     41In addition the following feature-identifiers may exist: {{cross-chicken}}, {{dload}}, {{manyargs}}, {{ptables}}.
     42
     43For further information, see the documentation for
     44[[http://srfi.schemers.org/srfi-0/srfi-0.html|SRFI-0]].
     45
    2246
    2347=== User defined character names
Note: See TracChangeset for help on using the changeset viewer.