Thank you. It looks perfect for now. Just that I can create it only inside an IO (newUnique is of type IO Unique)
Perhaps it involves some magic with random numbers or system time. Can't we come up with something like this staying within the limits of purity? Thanks Hemanth On 6/30/09, Felipe Lessa <[email protected]> wrote: > On Tue, Jun 30, 2009 at 03:25:26PM +0530, Hemanth Kapila wrote: >> Can some one please suggest something on simulating some sort of >> "object-Ids" in Haskell? > > Data.Unique[1]? > > [1] > http://hackage.haskell.org/packages/archive/base/latest/doc/html/Data-Unique.html > > -- > Felipe. > _______________________________________________ > Haskell-Cafe mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
