[darcs-users] darcs patch: Haddockize Darcs.Global.atexit.

Eric Kow kowey at darcs.net
Wed May 13 01:11:52 UTC 2009


On Wed, May 13, 2009 at 10:49:00 +1000, Trent W.Buck wrote:
> Ask and ye shalle receive.
> 
> Wed May 13 10:47:32 EST 2009  Trent W. Buck <trentbuck at gmail.com>
>   * Haddockize Darcs.Global.atexit.

Applied, thanks! :-)

Haddockize Darcs.Global.atexit.
-------------------------------
> Trent W. Buck <trentbuck at gmail.com>**20090513004732
>  Ignore-this: ebfd6e50ad6390af58efedd1eae156a8
> ] hunk ./src/Darcs/Global.hs 44
>  atexit_actions :: MVar (Maybe [IO ()])
>  atexit_actions = unsafePerformIO (newMVar (Just []))
>  
> +-- | Registers an IO action to run just before darcs exits.  Useful
> +-- for removing temporary files and directories, for example.
>  atexit :: IO () -> IO ()
>  atexit action = do
>      modifyMVar_ atexit_actions $ \ml -> do

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090512/77ee05b4/attachment.pgp>


More information about the darcs-users mailing list