Proposal: add forkOnIO and friends to Control.Concurrent:

Felipe Almeida Lessa felipe.lessa at gmail.com
Sun Jan 2 16:48:21 CET 2011


On Sun, Jan 2, 2011 at 1:31 PM, Mitar <mmitar at gmail.com> wrote:
> (and having both new and old names is really a path to chaos where (at
> least) beginners will be confused by old documentation and
> discrepancy).

We just need to {-# DEPRECATED forkIO "Use fooBar instead #-} and
point out that the name changed in the docs.  GHC will then warn
everyone using the old name that it is deprecated and that the new
name is fooBar.  Where is the chaos?

Cheers!

-- 
Felipe.



More information about the Libraries mailing list