Jump to content

Talk:Filter (software)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

(Untitled)

[edit]

"Filter program" is a Unix-specific concept with a technical definition; perhaps the page should be renamed "Filter (Unix)".

Pherhaps there should be a separate page, e.g. "Filter (software)" for non-Unix filters such as mail filter, printer filter, spam filter, etc. however only the first of these exists at present... Jorge Stolfi 00:51, 9 Mar 2004 (UTC)

[edit]

It would be much appreciated if the contributors to this article coul fix disambiguation page links contained herein. Cheers! bd2412 T 16:27, 8 February 2006 (UTC)[reply]


Higher-order function

[edit]

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)[reply]

Meaningless examples

[edit]

Wouldn't it be more useful if there were simper examples that showed what you can do with a pipeline, and not require knowledge of perl to understand? e.g. "cat /etc/passwd | cut -d : -f 1 | grep foo" or something like that? The perl examples don't even have the pipe symbol, so while I can see they are filtering, they don't use standard input like it says they do. 84.209.77.218 (talk) 23:20, 9 June 2008 (UTC)[reply]

Merge

[edit]

Pretty much the same topic. The Unix article should be merged in here. Chris Cunningham (not at work) - talk 22:33, 31 October 2008 (UTC)[reply]

I would not merge the articles Filter (software) and Filter (Unix). The former can be considered as the general concept, the latter considered the Unix implementation of the former. Compare to Pipeline (software) and Pipeline (Unix), which are distinctive articles. --Abdull (talk) 22:14, 9 March 2010 (UTC)[reply]