File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ priority -50
2
+
3
+ snippet impq " Qualified import"
4
+ import ${1: Data.Text } as ${0: `!p snip.rv = t[1].split(".")[-1]` }
5
+ endsnippet
Original file line number Diff line number Diff line change @@ -31,8 +31,12 @@ snippet importq
31
31
snippet inst
32
32
instance ${1: Monoid } ${2: Type } where
33
33
${0}
34
+ snippet ty
35
+ type ${1: Type } = ${0: Type }
34
36
snippet type
35
37
type ${1: Type } = ${0: Type }
38
+ snippet da
39
+ data ${1: Type } = ${2: $1 } ${0: Int }
36
40
snippet data
37
41
data ${1: Type } = ${2: $1 } ${0: Int }
38
42
snippet newtype
@@ -54,6 +58,12 @@ snippet const
54
58
snippet fn
55
59
${1: fn } :: ${2: a } -> ${3: a }
56
60
$1 ${4} = ${0: undefined }
61
+ snippet fn0
62
+ ${1: fn } :: ${2: a }
63
+ $1 = ${0: undefined }
64
+ snippet fn1
65
+ ${1: fn } :: ${2: a } -> ${3: a }
66
+ $1 ${4} = ${0: undefined }
57
67
snippet fn2
58
68
${1: fn } :: ${2: a } -> ${3: a } -> ${4: a }
59
69
$1 ${5} = ${0: undefined }
@@ -130,3 +140,6 @@ snippet itp
130
140
$0
131
141
snippet sb
132
142
\` shouldBe\` $0
143
+ snippet doc
144
+ {-| ${0}
145
+ -}
You can’t perform that action at this time.
0 commit comments