[Haskell-cafe] The C Equiv of != in Haskell miscommunication
thread
Donald Bruce Stewart
dons at cse.unsw.edu.au
Tue May 29 02:53:55 EDT 2007
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
More information about the Haskell-Cafe
mailing list