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.

val filter : Types.filter -> ('a, Types.event) Rss.channel_t -> ('a, Types.event) Rss.channel_t

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

OCaml

Innovation. Community. Security.