-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathagda.fnl
40 lines (39 loc) · 820 Bytes
/
agda.fnl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
(local {:snippet s
:snippet_node sn
:text_node t
:insert_node i
:function_node f
:choice_node c
:dynamic_node d
:restore_node r}
(require :luasnip))
(local {:lambda l
:rep rep
:partial p
:match m
:nonempty n
:dynamic_lambda dl}
(require :luasnip.extras))
(local {:fmt fmt
:fmta fmta}
(require :luasnip.extras.fmt))
(local types
(require :luasnip.util.types))
(local conds
(require :luasnip.extras.conditions))
(local conds-expand
(require :luasnip.extras.conditions.expand))
[(s :hole
(fmt "
{{! {} !}}
"
[(i 0 "")]))
(s :prove
(fmt "
begin
?
∼⟨ ? ⟩
?
∎
"
[]))]