summaryrefslogtreecommitdiff
path: root/Coalpit.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Coalpit.hs')
-rw-r--r--Coalpit.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Coalpit.hs b/Coalpit.hs
index 27df1bb..6eb7f06 100644
--- a/Coalpit.hs
+++ b/Coalpit.hs
@@ -43,12 +43,12 @@ Then, in a shell:
> Foo {bar = Nothing, baz = "a string"}
> ["a string"]
> "a string"
-> [Right (Foo {bar = Nothing, baz = "a string"})]
+> Right (Foo {bar = Nothing, baz = "a string"})
> $ ./Example --bar 42 'a string'
> Foo {bar = Just 42, baz = "a string"}
> ["--bar","42","a string"]
> --bar 42 "a string"
-> [Right (Foo {bar = Just 42, baz = "a string"})]
+> Right (Foo {bar = Just 42, baz = "a string"})
> $ ./Example --bar foo
> arguments:1:3:
> Failed to read: foo