Skip to content

Commit 074df7b

Browse files
committed
Fix typo
1 parent b1d90ae commit 074df7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Data/Codec/Argonaut/Sum.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ enumSum printTag parseTag = GCodec dec enc
4343
-- | - The first argument is the name of the type being decoded, for error
4444
-- | message purposes.
4545
-- | - The second argument maps a tag value to a string to use in the encoding.
46-
-- | - The second argument maps a string back to a tag value during decoding.
47-
-- | - The third argument returns either a constant value or a decoder function
46+
-- | - The third argument maps a string back to a tag value during decoding.
47+
-- | - The fourth argument returns either a constant value or a decoder function
4848
-- | based on a tag value.
49-
-- | - The fourth argument returns a tag value and optional encoded value to
49+
-- | - The fifth argument returns a tag value and optional encoded value to
5050
-- | store for a constructor of the sum.
5151
taggedSum
5252
tag a

0 commit comments

Comments
 (0)