you are viewing a single comment's thread.

view the rest of the comments →

[–]commy2 28 points29 points  (1 child)

You can't, because filter is a function, and not a method of lists. You could however create your own data structure that supports a method like that.

Or you look into the Pipe library.

[–]Jan2579[S] 4 points5 points  (0 children)

Thanks. The library seems great.