emacs-prelude/vendor/yasnippet/snippets/scala-mode/match.can

12 lines
201 B
Text
Raw Normal View History

2012-02-17 22:12:32 +02:00
# Author: Jonas Bonèr <jonas@jonasboner.com>
# name: can match { case Full(res) => .. }
# key: match
# --
${1:option} match {
case Full(res) => $0
case Empty =>
case Failure(msg, _, _) =>
}