On Sun, Nov 2, 2008 at 4:53 AM, David Roundy <[EMAIL PROTECTED]> wrote:
> On Sun, Nov 02, 2008 at 09:28:24AM +0100, Christian Kellermann wrote:
>> Dear darcs-fans,

>> +import Data.List ( isInfixOf, isPrefixOf, (\\), nubBy )
>
> isInfixOf is one of those recent innovations that you should avoid if you
> want to write portable code.

This should be fine for darcs code though as we are standard on ghc6.6
as a minimum version.  As I've pointed out on the list before, 6.6
does include isInfixOf:
http://www.haskell.org/ghc/docs/6.6/html/libraries/base/Data-List.html#v%3AisInfixOf

Thanks,
Jason
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to