Talk:Filter (software)

From Wikipedia, the free encyclopedia

[edit] Higher-order function

filter is also an important High-order function in functional prograsmming, somehow similar to guards in "list comprehensions".

It looks like filter(some array or tuple or set, boolean function f wrt array element) and returns subarray of given arrays where f was true. For example, in pseudo-language, filter ( [1,2,-3,5,0,-4,2,-1], >0 ) would yield as its result the array [1,2,5,2] filtering out all numbers <=0

—The preceding unsigned comment was added by 212.176.32.19 (talk)

I have started a page filter (higher-order function). — Tobias Bergemann 13:26, 21 May 2007 (UTC)