Skip to content

Commit 5a9126b

Browse files
paulcadmanGabriella439
authored andcommitted
Fix a typo in the docs for Union constructors (#315)
1 parent 00c79f5 commit 5a9126b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dhall/Tutorial.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ import Dhall
11151115
-- common pattern:
11161116
--
11171117
-- > let MyType = constructors < Empty : {} | Person : { name : Text, age : Natural } >
1118-
-- > in [ MyType.Empty {}
1118+
-- > in [ MyType.Empty {=}
11191119
-- > , MyType.Person { name = "John", age = +23 }
11201120
-- > , MyType.Person { name = "Amy" , age = +25 }
11211121
-- > ]

0 commit comments

Comments
 (0)