23 lines
410 B
Plaintext
23 lines
410 B
Plaintext
|
snippet import
|
||
|
abbr import qualified ... as ...
|
||
|
import qualified ${1} as ${2}
|
||
|
|
||
|
snippet importOnly
|
||
|
abbr import ... (...)
|
||
|
import ${1} (${2})
|
||
|
|
||
|
snippet language
|
||
|
abbr {-# LANGUAGE ... #-}
|
||
|
{-# LANGUAGE ${1} #-}
|
||
|
|
||
|
# hard-tab is necessary
|
||
|
snippet case
|
||
|
abbr case ... of
|
||
|
case ${1} of
|
||
|
${2} -> ${0}
|
||
|
|
||
|
snippet main
|
||
|
abbr main = do
|
||
|
main = do
|
||
|
${0}
|