9 lines
166 B
Text
9 lines
166 B
Text
|
# Author: Jonas Bonèr <jonas@jonasboner.com>
|
||
|
# name: option match { case None => .. }
|
||
|
# key: match
|
||
|
# --
|
||
|
${1:option} match {
|
||
|
case None => $0
|
||
|
case Some(res) =>
|
||
|
|
||
|
}
|