[Haskell-cafe] Hash table constructors return table in IO Monad. Why?
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.
--- 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...
More information about the Haskell-Cafe