toddmohney / json-api

Haskell Implementation of the JSON-API specification
http://hackage.haskell.org/package/json-api
MIT License
35 stars 14 forks source link

Split up functions for working with Document singletons and lists #44

Closed gwils closed 3 years ago

gwils commented 3 years ago

This clearer separation between singular and plural Documents is helpful in my work. What do you think? This would be a breaking change, so if you merge this, we should bump the major version.

Further down this road, we could potentially even split Document and Documents into two types.