home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

case (154B)


      1 # -*- mode: snippet -*-
      2 # contributor: Mark Karpov
      3 # name: case
      4 # key: case
      5 # --
      6 (case ${1:key-form}
      7   (${2:match} ${3:result})${4:
      8   (t ${5:otherwise})})