Closed lykahb closed 9 years ago
Do you need the attoparsec parser, or would a parseHStoreList :: ByteString -> Either String HStoreList
suffice?
Thank you, function parseHStoreList will be good enough for me.
Perhaps a pure class function like fromField that returns Parser would be more composable. The fromField instances I saw used IO only for getting types from oid.
Thank you!
You are welcome. =)
I would like to reuse HStore parsing in the Groundhog ORM library to add support for HStoreList and HStoreMap. The code that does parsing is pure so I can't call fromField.