Skip to content

Instantly share code, notes, and snippets.

@globulon
Created March 31, 2012 15:00
Show Gist options
  • Select an option

  • Save globulon/2265886 to your computer and use it in GitHub Desktop.

Select an option

Save globulon/2265886 to your computer and use it in GitHub Desktop.
Stream definition for iteratee
sealed trait StreamG[+E]
final case class Element[E](data: E) extends StreamG[E]
case object EOF extends StreamG[Nothing]
case object EMPTY extends StreamG[Nothing]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment