Changeset 37957 in project


Ignore:
Timestamp:
10/09/19 21:19:59 (10 days ago)
Author:
Kon Lovett
Message:

rel 2.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/moremacros

    r37920 r37957  
    1717(import moremacros)
    1818</enscript>
     19
     20==== switch
     21
     22<macro>(switch EXP ((KEY ...) EXP1 ...) ... [(else EXPn ...)])</macro>
     23
     24This is similar to {{case}}, but the keys are evaluated & {{equal?}} is the test.
    1925
    2026==== type-case
     
    275281</enscript>
    276282
     283==== one?
     284==== two?
     285==== three?
     286==== four?
     287==== five?
     288==== six?
     289==== seven?
     290==== eight?
     291==== nine?
     292==== ten?
     293
     294<macro>(one? OBJ)</macro>
     295<macro>(two? OBJ)</macro>
     296<macro>(three? OBJ)</macro>
     297<macro>(four? OBJ)</macro>
     298<macro>(five? OBJ)</macro>
     299<macro>(six? OBJ)</macro>
     300<macro>(seven? OBJ)</macro>
     301<macro>(eight? OBJ)</macro>
     302<macro>(nine? OBJ)</macro>
     303<macro>(ten? OBJ)</macro>
     304
     305Numeric value predicates.
     306
    277307==== ++
    278308
     
    399429== Version history
    400430
     431; 2.1.0 : Added {{switch}}, {{one?}} & friends.
    401432; 2.0.0 : CHICKEN 5 release.
    402433; 1.5.1 : Update {{setup-helper}} version (minimum 1.4.1 but using latest).
Note: See TracChangeset for help on using the changeset viewer.