summaryrefslogtreecommitdiffhomepage
path: root/fsharp.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'fsharp.html.markdown')
-rw-r--r--fsharp.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsharp.html.markdown b/fsharp.html.markdown
index 59461eed..24044d76 100644
--- a/fsharp.html.markdown
+++ b/fsharp.html.markdown
@@ -194,7 +194,7 @@ module ListExamples =
| [] -> printfn "the list is empty"
| [first] -> printfn "the list has one element %A " first
| [first; second] -> printfn "list is %A and %A" first second
- | _ -> printfn "the list has more than two elements"
+ | first :: _ -> printfn "the list has more than two elements, first element %A" first
listMatcher [1; 2; 3; 4]
listMatcher [1; 2]