[Haskell-cafe] Re: Problems interpreting

Neil Mitchell ndmitchell at gmail.com
Mon Sep 18 11:00:51 EDT 2006


Hi

> subst e l' = concat.map (\x->if x==e then l' else [x])

subst e l' = concatMap (\x->if x==e then l' else [x])

Let's save an extra character :)

Thanks

Neil


More information about the Haskell-Cafe mailing list