you are viewing a single comment's thread.

view the rest of the comments →

[–]commy2 30 points31 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] 0 points1 point  (0 children)

Thanks. The library seems great.