Skip to content

Instantly share code, notes, and snippets.

@brikis98
Last active December 29, 2015 05:49
Show Gist options
  • Save brikis98/7624958 to your computer and use it in GitHub Desktop.
Save brikis98/7624958 to your computer and use it in GitHub Desktop.
Enumeratees and operators
val e1: Enumeratee[String, String] = ...
val e2: Enumeratee[String, String] = ...
val e3: Enumeratee[String, String] = ...
val iteratee: Iteratee[String, String] = ...
// Compose the 3 Enumeratees together and apply the result to
// the Iteratee to get a new Iteratee
val filteredIteratee = e1 ><> e2 ><> e3 &> iteratee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment