formatting
This commit is contained in:
parent
af70982d4b
commit
596e98d951
2 changed files with 28 additions and 18 deletions
10
.editorconfig
Normal file
10
.editorconfig
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
2
01a.lisp
2
01a.lisp
|
|
@ -1,7 +1,7 @@
|
||||||
(require :uiop)
|
(require :uiop)
|
||||||
|
|
||||||
(defun split-instruction (s)
|
(defun split-instruction (s)
|
||||||
"Splits a string S into two parts at the given INDEX."
|
"Splits the given instruction into a pair"
|
||||||
(cons (subseq s 0 1)
|
(cons (subseq s 0 1)
|
||||||
(subseq s 1)))
|
(subseq s 1)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue