|
@ -615,7 +615,6 @@ filtermap(Fun, List1) -> |
|
|
lists:foldr(fun(Elem, Acc) -> |
|
|
lists:foldr(fun(Elem, Acc) -> |
|
|
case Fun(Elem) of |
|
|
case Fun(Elem) of |
|
|
false -> Acc; |
|
|
false -> Acc; |
|
|
true -> [Elem|Acc]; |
|
|
|
|
|
{true,Value} -> [Value|Acc] |
|
|
{true,Value} -> [Value|Acc] |
|
|
end |
|
|
end |
|
|
end, [], List1). |
|
|
end, [], List1). |
|
|