[Haskell-cafe] Where is Data.Atom ?

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Jul 2 15:08:29 EDT 2006

Hello Brian,

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

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list