package erssical

  1. Overview
  2. Docs

Filtering items.

module S : Stdlib.Set.S with type elt = Erssical.Types.item
val compile_filter_exp : Types.filter_exp -> S.t -> S.t

This function takes a filter expression and returns a function to filter a set of items.

filter filt chan returns a new channel where only items from ch verifying filter filt are kept.