
30 Jun
2009
30 Jun
'09
2:27 p.m.
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
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...
-- Felipe. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe