ozataman / csv-conduit

Flexible, fast and constant-space CSV library for Haskell using conduits
Other
52 stars 32 forks source link

`instance (ToRecord a, FromRecord a) => CSV ByteString a` #43

Open ysangkok opened 3 years ago

ysangkok commented 3 years ago

I believe this instance should be possible. It would subsume instance ByteString (Row ByteString) (here).

I have tested the rowToStr works if I just replace r by toRecord r in that method.

But I am not sure how to write the other two functions. But surely it should be possible if rowToStr can be done.