On Sat, May 23, 2009 at 15:39:57 +1000, Trent W.Buck wrote: > Sat May 23 15:31:28 EST 2009 Trent W. Buck <[email protected]> > * Temporary bodge for missing Data.Function in GHC 6.6.
Applied, thanks for fixing that! Temporary bodge for missing Data.Function in GHC 6.6. ----------------------------------------------------- > +-- Reduces to the "import" line after we drop GHC 6.6 support. > +#if __GLASGOW_HASKELL >= 686 > +import Data.Function (on) -- not in GHC 6.6 > +#else > +on :: (b -> b -> c) -> (a -> b) -> a -> a -> c > +on f g = \x y -> f (g x) (g y) > +#endif -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
pgpSfIXdBmGL4.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
