| Subject: | Re: [Haskell-cafe] The C Equiv of != in Haskell miscommunication thread |
|---|---|
| From: | Donald Bruce Stewart |
| Date: | Tue, 29 May 2007 16:53:55 +1000 |
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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe
|
| Previous by Date: | Re: [Haskell-cafe] The C Equiv of != in Haskell miscommunication thread, kahl |
|---|---|
| Next by Date: | RE: [Haskell-cafe] Yet another top-level state proposal, Simon Peyton-Jones |
| Previous by Thread: | Re: [Haskell-cafe] The C Equiv of != in Haskell miscommunication thread, kahl |
| Next by Thread: | Re: [Haskell-cafe] Cute code [was: The C Equiv of != in Haskell miscommunication thread], Vincent Kraeutler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |