[Haskell-cafe] Implicit concatenation in list comprehensions
Bulat Ziganshin
bulat.ziganshin at gmail.com
Tue Jul 21 05:34:57 EDT 2009
Hello Neil,
Tuesday, July 21, 2009, 1:26:55 PM, you wrote:
>> ++ [ "-i" | not (null (ghcOptSearchPath opts)) ]
>> ++ [ "-i", dir | dir <- ghcOptSearchPath opts ]
> Following the discussions, I now support this extension too - I keep
> seeing more and more places in my code where it would be very useful.
>> ++ [ "-i" | not (null (ghcOptSearchPath opts)) ]
>> ++ concat [ ["-i", dir] | dir <- ghcOptSearchPath opts ]
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list