[Haskell-cafe] Where is Data.Atom ?
bulat.ziganshin at gmail.com
Sun Jul 2 15:08:29 EDT 2006
Sunday, July 2, 2006, 10:58:29 PM, you wrote:
> fromString :: String -> Atom
> toString :: Atom -> String
> instance Eq Atom
> instance Ord Atom -- this is where things get difficult!
i think that ByteString is a very strong candidate to Atom. `memicmp`
is very fast operation, unless you plan to use really large strings
with the same beginnings
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe