Changeset 7243 in project


Ignore:
Timestamp:
01/02/08 19:43:09 (12 years ago)
Author:
svnwiki
Message:

Changes applied for ben (12.15.146.254) through svnwiki:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/srfi-34

    r7242 r7243  
    1111Examples are in examples/srfi-34-examples.scm.
    1212
     13<enscript highlight="scheme">
    1314;;;
    1415;;; (raise OBJ)
     
    2021
    2122;;; The default exception handler calls error aborting the script.
     23</enscript>
    2224
    23 
     25<enscript highlight="scheme">
    2426;;;
    2527;;; (guard (VAR CLAUSE1 CLAUSE2 ...) BODY)
     
    4749       (raise 'bizarre-exception)
    4850       (display "Won't get here")(newline) )
     51</enscript>
    4952
     53<enscript highlight="scheme">
    5054;;;
    5155;;; The => syntax for guard: Example 1
     
    5862         ((assq 'b condition)))
    5963  (raise (list (cons 'a 42))))
     64</enscript>
    6065
     66<enscript highlight="scheme">
    6167;;;
    6268;;; The => syntax for guard: Example 2
     
    6975         ((assq 'b condition)))
    7076  (raise (list (cons 'b 23))))
     77</enscript>
    7178
     79<enscript highlight="scheme">
    7280;;;
    7381;;; ( with-exception-handler HANDLER THUNK )
     
    102110        (display "Won't get here")(newline)))) )
    103111
     112</enscript>
    104113=== Author
    105114
Note: See TracChangeset for help on using the changeset viewer.