
29 May
2007
29 May
'07
6:53 a.m.
kahl:
P.S. Have some cute code:
Control.Monad.Fix.fix ((1:) . scanl (+) 1)
Cute!
But what an un-cute qualified name:
:t Control.Monad.Fix.fix Control.Monad.Fix.fix :: (a -> a) -> a
Has nothing to do with monads, and would perhaps be considered as ``out of Control'' in any case...
I see it has moved into Data.Function, module Data.Function ( -- * "Prelude" re-exports id, const, (.), flip, ($) -- * Other combinators , fix , on ) where A much better place. -- Don