
5 Sep
2007
5 Sep
'07
8:57 p.m.
We could also implement (which would be nice) and XMonadContrib module that generates unique integers, e.g.
uniqueInt :: X Int
which would probably need to use the unsafePerformIO/NOINLINE trick, alas. Or it could just gamble using a random number generator (which isn't a bad idea, as long as uniqueness isn't required for safety).
There's Data.Unique too. Cheers, Spencer Janssen