Skip to content

Commit

Permalink
Fix a typo in the docs for Union constructors (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcadman authored and Gabriella439 committed Mar 4, 2018
1 parent 00c79f5 commit 5a9126b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dhall/Tutorial.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ import Dhall
-- common pattern:
--
-- > let MyType = constructors < Empty : {} | Person : { name : Text, age : Natural } >
-- > in [ MyType.Empty {}
-- > in [ MyType.Empty {=}
-- > , MyType.Person { name = "John", age = +23 }
-- > , MyType.Person { name = "Amy" , age = +25 }
-- > ]
Expand Down

0 comments on commit 5a9126b

Please sign in to comment.