filter -containers
filter, applied to a predicate and a list, returns the list of those elements that satisfy the predicate; i.e.,
> filter p xs = [ x | x <- xs, p x]
This generalizes the list-based filter function.
O(n) filter, applied to a predicate and a ByteString, returns a ByteString containing those characters that satisfy the predicate.
O(n) filter, applied to a predicate and a Text, returns a Text containing those characters that satisfy the predicate.
O(n) filter, applied to a predicate and a ByteString, returns a ByteString containing those characters that satisfy the predicate.
O(n) filter, applied to a predicate and a ByteString, returns a ByteString containing those characters that satisfy the predicate. This function is subject to array fusion.
Use the filtered compression strategy for data produced by a filter (or predictor). Filtered data consists mostly of small values with a somewhat random distribution. In this case, the compression algorithm is tuned to compress them better. The effect of this strategy is to force more Huffman coding and less string matching; it is somewhat intermediate between defaultCompressionStrategy and huffmanOnlyCompressionStrategy.
Direct MonadPlus equivalent of filter filter = (mfilter:: (a -> Bool) -> [a] -> [a] applicable to any MonadPlus, for example mfilter odd (Just 1) == Just 1 mfilter odd (Just 2) == Nothing
Pure and impure Bloom Filter implementations.
Version 1.2.6.8
defaultCookieFilter is the initial cookie acceptance filter. It welcomes them all into the store :-)
Filter based on edge property.
Filter based on edge label property.
getCookieFilter returns the current cookie acceptance filter.
The Haskell XML Toolbox bases on the ideas of HaXml and HXML. This package is a compatibitlity package for old software working with the filter approach like in HaXml. For new projects it's recomended to use the arrow based library (hxt).
Version 8.4.2
This package brings image filters comparable to PHP's imagefilter functions. In the current release, these filters may only be used with the GD Haskell extension library, but in the future it may support other image management libraries, such as the new JuicyPixels library.
imagefilters also supplies functionality for creating custom filters by using the pixelTransform function for per-pixel transformations, or the convolute function for the application of convolution matrices
Version 0.1
setCookieFilter fn sets the cookie acceptance filter to fn.
userCookieFilter is a handy acceptance filter, asking the user if he/she is willing to accept an incoming cookie before adding it to the store.