> Wed Aug 15 21:28:56 CEST 2007 Eric Kow <[EMAIL PROTECTED]> > * Remove now obsolete hackery.
Hmm, maybe this is not so obsolete after all. The Windows sleep returns
CInt, not Int. So either the Windows sleep will need to be tweaked or
we'll need to fix this comment (should be an easy tweak, but maybe not
worth it). All I wanted to simplify away an old comment.
> -wait_a_moment :: IO ()
> -wait_a_moment = do { sleep 1; return () }
> - -- HACKERY: In ghc 6.1, sleep has the type signature IO Int; it
> - -- returns an integer just like sleep(3) does. To stay compatible
> - -- with older versions, though, we just ignore sleep's return
> - -- value. Hackery, like I said.
> +wait_a_moment :: IO Int
> +wait_a_moment = sleep 1
--
Eric Kow http://www.loria.fr/~kow
PGP Key ID: 08AC04F9 Merci de corriger mon français.
pgp1Qdw2SQWai.pgp
Description: PGP signature
_______________________________________________ darcs-devel mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-devel
