[Haskell-cafe] Hash table constructors return table in IO Monad. Why?

michael rice nowgate at yahoo.com
Fri May 13 02:31:16 CEST 2011


I guess everyone has weighed in. I must have been hallucinating.
Yes, this will work.
Thanks,
Michael

--- On Thu, 5/12/11, Bryan O'Sullivan <bos at serpentine.com> wrote:

From: Bryan O'Sullivan <bos at serpentine.com>
Subject: Re: [Haskell-cafe] Hash table constructors return table in IO Monad. Why?
To: "michael rice" <nowgate at yahoo.com>
Cc: "Stephen Tetley" <stephen.tetley at gmail.com>, haskell-cafe at haskell.org
Date: Thursday, May 12, 2011, 6:04 PM

On Thu, May 12, 2011 at 12:59 PM, michael rice <nowgate at yahoo.com> wrote:


HashTable doesn't do it. Neither does Map. Was I dreaming?

multiInsert k v m = insertWith' (++) k [v] m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110512/f1f4a7e1/attachment.htm>


More information about the Haskell-Cafe mailing list