Skip to content

Instantly share code, notes, and snippets.

@p3t0r
Created March 14, 2011 21:35
Show Gist options
  • Save p3t0r/869933 to your computer and use it in GitHub Desktop.
Save p3t0r/869933 to your computer and use it in GitHub Desktop.
abstract class Repository[T] {
def withConnection(f: (Connection => Option[T])): Option[T]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment