[Haskell] Simple and Easy Persistence
Krasimir Angelov
kr.angelov at gmail.com
Fri Dec 9 02:44:45 EST 2005
2005/12/8, Bulat Ziganshin <bulatz at hotpop.com>:
> imho, it's better to start from NewBinary library and add features of
> SerTH to it. i can make TH support. btw, where i can download
> NewBinary version about you talk? there is many different variations.
Thanks. Your help will be appreciable. I am talking about JeremyShaw's
update of ?HalDaume's library:
http://www.n-heptane.com/nhlab/repos/NewBinary/
>
> one disadvantage of original Binary library as well as all its
> derivatives is support only for memory- and Handle-oriented streams.
> my library instead accepts any stream, you just provide functions to
> read/write when create Binary object. i propose to add this facility
> too, smth like:
>
> createBinary readF writeF = return Binary {readF=readF,writeF=writeF}
I think the right abstraction should use carefully designed type
classes like in Simon Marlow's NewIO library.
Cheer
More information about the Haskell
mailing list