[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
sxml-match-let
and sxml-match-let*
- Scheme Syntax: sxml-match-let ((pat expr) ...) expression0 expression ...
- Scheme Syntax: sxml-match-let* ((pat expr) ...) expression0 expression ...
These forms generalize the
let
andlet*
forms of Scheme to allow an XML pattern in the binding position, rather than a simple variable.
For example, the expression below:
(sxml-match-let ([(a ,i ,j) '(a 1 2)]) (+ i j))
binds the variables i and j to 1
and 2
in the XML
value given.
This document was generated on April 20, 2013 using texi2html 5.0.