On Sun, May 27, 2007 at 01:38:51PM +0100, Neil Mitchell wrote: > > >Sun May 27 05:33:14 PDT 2007 Ian Lynagh <[EMAIL PROTECTED]> > > * Add System.Timeout to base.cabal > > Filtered out for non-GHC by Setup.hs. > > Why shouldn't non GHC compilers provides this, but with an interface > that simply never times out?
I wasn't really making any decision here, just fixing a bug in the cabal file versus the behaviour with the old build system. Would the programmer really want a function that does nothing if timeout functionality isn't available? It's not obvious to me. Perhaps there should be an attemptTimeout function or something for that? > It seems that base should present one consistent interface on all > compilers, if at all possible! Otherwise you are just going to trip > people up later. Indeed. It's currently earmarked for moving to a new concurrent package, but that will still have partial functionality when compiled with hugs. Solutions welcomed! Thanks Ian _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
