[Haskell-cafe] Re: symbol type?

apfelmus apfelmus at quantentunnel.de
Wed Oct 10 05:15:43 EDT 2007

Michael Vanier wrote:
> Yitzchak Gale wrote:
>> Ah. Perhaps Data.HashTable is what you are looking
>> for then?
> Hmm, I was hoping for something that didn't involve side effects.

There's always Data.Map

   newtype Symbol   = S { unS :: Integer } deriving (Eq, Ord)
   type SymbolTable = Data.Map Symbol String


More information about the Haskell-Cafe mailing list