Quantcast
Channel: Comparison of atom libraries for Haskell, e.g. simple-atom and stringtable-atom - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Grzegorz Chrupała for Comparison of atom libraries for Haskell,...

I wrote monad-atom for my own use. It's not what you want if you need globally unique atoms, but if all you need is a string table it is simple and safe.

View Article



Answer by sclv for Comparison of atom libraries for Haskell, e.g. simple-atom...

Another nice choice would be ekmett's new intern package, which handles bytestrings as well as more complex recursive types: http://hackage.haskell.org/package/internHe has assured me it is threadsafe.

View Article

Comparison of atom libraries for Haskell, e.g. simple-atom and stringtable-atom

I find myself needing a string table in a Haskell program I'm developing. In particular, I want a system which allows be to box any String into (say) an 'Atom'; given an Atom, you should be able to...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images