summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/scala-mode/match.can
blob: 77d475b80b7ae9016d1ab418e7561d168f395e83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#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, _, _) => 

}