Changeset 36401 in project


Ignore:
Timestamp:
08/25/18 12:40:26 (3 months ago)
Author:
kooda
Message:

Document srfi-37, args and records for CHICKEN 5

Location:
wiki/eggref/5
Files:
3 copied

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/args

    r36400 r36401  
    146146== Examples
    147147
    148  (use args)
     148 (import (chicken process-context)
     149         (chicken port)
     150         args)
    149151
    150152 ;;; Note that missing required args can only be detected if their option appears last,
     
    219221      -h --help                          Display this text
    220222
    221 Additional examples can be found in [[http://bugs.call-cc.org/browser/release/4/args/trunk/args-examples.scm|args-examples.scm]].
     223Additional examples can be found in [[http://bugs.call-cc.org/browser/release/5/args/trunk/args-examples.scm|args-examples.scm]].
    222224
    223225
     
    234236=== Version history
    235237
     238; 1.6.0 : Ported to CHICKEN 5 [Kooda]
    236239; 1.5.1 : Bugfix for 1.5.0 -- ensure option body sees transformed {{#t}} arg value
    237240; 1.5.0 : {{#:optional}} args return a {{#t}} instead of {{#f}} value (suggested by Matt Gushee and Peter Bex)
  • wiki/eggref/5/records

    r36400 r36401  
    99To use this extension, execute
    1010
    11 {{(require-extension records)}}
     11{{(import records)}}
    1212
    1313in your code. This extension provides the {{records}} module.
     
    8282=== History
    8383
     84; 1.4 : Ported to CHICKEN 5 [Kooda]
    8485; 1.3 : removed {{-host}} option from setup script
    8586; 1.2 : ported to CHICKEN 4
  • wiki/eggref/5/srfi-37

    r36400 r36401  
    2121See the [[http://srfi.schemers.org/srfi-37/srfi-37.html|SRFI-37 document]].
    2222
    23 This extension supports static linking.
    24 
    2523=== Example
    2624
     
    2826#!/usr/local/bin/csi -script
    2927;;;; secho - display command-line arguments
     28
     29(import (chicken process-context) srfi-37)
    3030
    3131(define nl 1)
     
    6363=== Changelog
    6464
     65* 1.4 - Ported to CHICKEN 5 [Kooda]
    6566* 1.3 - Ported to Chicken 4 [Ivan Raikov]
    6667* 1.2 - Changed license to the one acually used by the reference implementation [Thanks to Ivan Shmakov for pointing this out]
Note: See TracChangeset for help on using the changeset viewer.