Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
21208919
Commit
21208919
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2003-09-25 20:09:39 by cvscast] Beppe: small typos
Original author: cvscast Date: 2003-09-25 20:09:39+00:00
parent
e143c923
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/tutorial/patterns.xml
View file @
21208919
...
...
@@ -13,7 +13,7 @@
<b
style=
"color:#FF0080"
>
TO BE DONE
</b>
</box>
<box
title=
"Handling optional attributes"
link=
"
p
r"
>
<box
title=
"Handling optional attributes"
link=
"
optatr
r"
>
<p>
The blend of type type constructors and boolean combinator can be used to
reduce verbosity in writing pattern matching. As an exmple we show how to handle
...
...
@@ -53,7 +53,7 @@ let content (Sample -> String)
]]>
</sample>
<p>
The intended use for the
<code>
lineno
</code>
attribute is to tell us whether line
numbers should be displayed alongside the sample code.
)
numbers should be displayed alongside the sample code.
<br/>
While this situation is still bearable it soon become unfeasible with more
than two optional attributes. A much better way of handling this situation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment