hlint: span instead of break ---------------------------- > - - (curSpace, afterCurSpace) = break (not . (== ' ')) s > + (curSpace, afterCurSpace) = span (== ' ') s > (curWord, afterCurWord) = break (== ' ') afterCurSpace
I've pushed it, although it's a tiny bit sad because we somewhat lose the symmetry between break and break not. Bah, minor detail and could be argued that hlint is right and it's cleaner. Very deliberately not marking this accepted, hoping that darcswatch will do it for us. -- Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow> PGP Key ID: 08AC04F9
pgpsREG6U2U3E.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
