Skip to content

Instantly share code, notes, and snippets.

@p3t0r
Created March 14, 2011 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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