Skip to content

Instantly share code, notes, and snippets.

@joan38
Created August 26, 2018 22:05
Show Gist options
  • Save joan38/6a6ac0501d75863125f208cc38df7ae9 to your computer and use it in GitHub Desktop.
Save joan38/6a6ac0501d75863125f208cc38df7ae9 to your computer and use it in GitHub Desktop.
trait Creatable[Resource: Encoder] {
def create(resource: Resource): Unit = ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment