
19 Oct
2009
19 Oct
'09
6:07 a.m.
Michael Mossey schrieb:
Is there a nifty way to write
filter (\x -> x < 0.5 && x > -0.5) xs
without explicitly using x?
Hoogle did not find a function of type: (b -> b -> b) -> (a -> b) -> (a -> b) -> a -> b or (b -> c -> d) -> (a -> b) -> (a -> c) -> a -> d But maybe such a function is worth being added to Data.Function. Cheers Christian