Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package repositories
import models.Person
trait PersonRepository[F[_]] {
def get(name: String): F[Option[Person]]
def create(name: String, age: Int): F[Person]
def list(): F[Seq[Person]]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.