[darcs-devel] [darcs #183] Implement withDelayedTempDir

Juliusz Chroboczek jch at pps.jussieu.fr
Thu Jan 20 15:12:30 PST 2005


> in this case we could simply register all directories created with
> withTempDir somewhere (in a mutable variable), and then *explicitly*
> remove all registered directories at exit.

I tried.  I failed.

I have no idea how to implement a global IORef in Haskell.  (I can
create a global IO(IORef), of course, but that's somewhat pointless.)

                                        Juliusz




More information about the darcs-devel mailing list