Skip to content

Commit 8861db1

Browse files
committed
Fix decode example
1 parent 668608e commit 8861db1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Csv.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ import Data.Csv.Types
170170
-- Decoding:
171171
--
172172
-- > >>> decode NoHeader "John,27\r\n" :: Either String (Vector Person)
173-
-- > Right (["name","salary"],[Person {name = "John", salary = 27}])
173+
-- > Right [Person {name = "John", salary = 27}]
174174
--
175175

176176
-- $example-named-instance

0 commit comments

Comments
 (0)