Source

python emacs / yasnippet-0.6.1c / snippets / text-mode / scala-mode / match.can

Full commit
#Author : Jonas Bonèr <jonas@jonasboner.com>
#name : can match { case Full(res) => .. }
# --
${1:option} match {
  case Full(res) => $0

  case Empty => 

  case Failure(msg, _, _) => 

}