Skip to content

Commit a1c27f0

Browse files
authored
removed duplicate snippets (#543)
1 parent 01dfc1e commit a1c27f0

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

client/snippets/viper.json

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -34,54 +34,6 @@
3434
],
3535
"description": "Loop invariant"
3636
},
37-
"Method": {
38-
"prefix": "method",
39-
"body": [
40-
"method ${1:foo}(${2}) returns ${5:(res:Int)}",
41-
"\trequires ${3:true}",
42-
"\tensures ${4:true}",
43-
"{",
44-
"\t${6:assert true}",
45-
"}"
46-
],
47-
"description": "Method"
48-
},
49-
"Predicate": {
50-
"prefix": "predicate",
51-
"body": [
52-
"predicate ${1:foo}(${2:xs:Ref})",
53-
"{",
54-
"\t${3:acc(xs.next)}",
55-
"}"
56-
],
57-
"description": "Predicate"
58-
},
59-
"Function": {
60-
"prefix": "function",
61-
"body": [
62-
"function ${1:foo}(${2:x:Int}): ${3:Bool}",
63-
"\trequires ${4:true}",
64-
"\tensures ${5:true}",
65-
"{",
66-
"\t${6}",
67-
"}"
68-
],
69-
"description": "Function"
70-
},
71-
"Domain": {
72-
"prefix": "domain",
73-
"body": [
74-
"domain ${1:MyType[T]} {",
75-
"\tfunction ${2:oper(m:MyType[T])}: ${3:Bool}",
76-
"\taxiom ${4:ax_MyType} {",
77-
"\t\tforall ${5:m:MyType[T]} :: ",
78-
"\t\t\t{ ${6:oper(m)} }",
79-
"\t\t\t\t${7:oper(m) == true}",
80-
"\t}",
81-
"}"
82-
],
83-
"description": "Domain"
84-
},
8537
"Axiom": {
8638
"prefix": "axiom",
8739
"body": [

0 commit comments

Comments
 (0)