File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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.
5151taggedSum
5252 ∷ ∀ tag a
You can’t perform that action at this time.
0 commit comments