Skip to content

Instantly share code, notes, and snippets.

@JorgeCastilloPrz
Created July 30, 2018 17:30
Show Gist options
  • Save JorgeCastilloPrz/a58d9bee64f26b86d2d2d31b042ae9e5 to your computer and use it in GitHub Desktop.
Save JorgeCastilloPrz/a58d9bee64f26b86d2d2d31b042ae9e5 to your computer and use it in GitHub Desktop.
PolymorphicDataSource.kt
interface DataSource<F> {
fun allTasksByUser(user: User): Kind<F, List<Task>>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment