Commit 67c4e64e authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2005-06-07 22:02:51 by beppe] Empty log message

Original author: beppe
Date: 2005-06-07 22:02:51+00:00
parent 7a781748
......@@ -236,10 +236,10 @@ while if the attribute is absent the default sub-pattern is used to assign the
variable a default value.
</p>
<p>
The use of pattern of the form <code>
The use of patterns of the form <code>
({ label1= x } | (x := %%v%%)) &amp; { label2 = y }</code> is so common in handling
optional fields (hence, XML attributes) that CDuce has a special syntax for this
pattern: <code>
kind of patterns: <code>
{ label1 = x else (x := %%v%%) ; label2 = y }</code>
</p>
</box>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment