id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
5044	Proposal: Generalize maybeNew	basvandijk	igloo	"This is a tiny proposal to generalize `Foreign.Marshal.Utils.`[http://hackage.haskell.org/packages/archive/base/latest/doc/html/Foreign-Marshal-Utils.html#v:maybeNew maybeNew] from:
{{{
maybeNew :: (      a -> IO (Ptr a))
         -> (Maybe a -> IO (Ptr a))
}}}
to:
{{{
maybeNew :: (      a -> IO (Ptr b))
         -> (Maybe a -> IO (Ptr b))
}}}
so that it becomes consistent with `maybeWith`:
{{{
maybeWith :: (      a -> (Ptr b -> IO c) -> IO c)
          -> (Maybe a -> (Ptr b -> IO c) -> IO c)
}}}

The [http://www.haskell.org/pipermail/libraries/2011-March/016027.html thread] on the libraries list didn't get any replies so I guess there's a consensus."	task	closed	normal		libraries/base	7.0.2	fixed			Unknown/Multiple	Unknown/Multiple	None/Unknown					
