Skip to content

Instantly share code, notes, and snippets.

@qingwei91
Created March 14, 2019 20:35
Show Gist options
  • Select an option

  • Save qingwei91/34fe3f9776ed8f4b6a34dbf01a7391eb to your computer and use it in GitHub Desktop.

Select an option

Save qingwei91/34fe3f9776ed8f4b6a34dbf01a7391eb to your computer and use it in GitHub Desktop.
sealed trait QueryF[+F[_], A]
case object QueryStringF extends QueryF[Nothing, String]
case object QueryBoolF extends QueryF[Nothing, Boolean]
case class QueryPathF[F[_], A](path: String, next: F[A]) extends QueryF[F, A]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment