Skip to content

Commit ef5a6e9

Browse files
authored
Merge pull request #33 from spicydonuts/patch-1
Consistent instance names
2 parents 8b196bc + 56e0640 commit ef5a6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Examples/Data/Argonaut/Record.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ instance decodeJsonBlogPost :: DecodeJson BlogPost where
2222
content <- obj .? "content"
2323
pure $ BlogPost { id, title, categories, content }
2424

25-
instance encodeJson :: EncodeJson BlogPost where
25+
instance encodeJsonBlogPost :: EncodeJson BlogPost where
2626
encodeJson (BlogPost post)
2727
= "id" := post.id
2828
~> "title" := post.title

0 commit comments

Comments
 (0)