refactor for boolean blindness

This commit is contained in:
Lucy Cifferello
2020-07-07 17:38:17 -06:00
parent bce11215d3
commit 7232c48292
5 changed files with 32 additions and 14 deletions

View File

@@ -10,3 +10,4 @@ instance ToJSON a => ToContent [a] where
toContent = toContent . toJSON . fmap toJSON
instance ToJSON a => ToTypedContent [a] where
toTypedContent = toTypedContent . toJSON . fmap toJSON