dots/.vim/snips/scheme.snippets

21 lines
420 B
Plaintext
Raw Normal View History

2021-04-11 19:14:30 +02:00
snippet reqtrace "(#%require racket/trace)" b
(#%require racket/trace)
endsnippet
snippet strln "(string-length <string>)" b
(string-length $0)
endsnippet
snippet impb "Import rnrs base libraries" b
(import (rnrs base (6))
(rnrs io simple)$0)
endsnippet
snippet def "(define <name> <variable>)" b
(define $0 $1)
endsnippet
snippet defp "(define (<procedure-name> <arguments>))" b
(define ($0 $1))
endsnippet