Compare commits
2 Enmetoj
15f68c47b7
...
fe50e2bcf8
Author | SHA1 | Date | |
---|---|---|---|
Jaidyn Ann | fe50e2bcf8 | ||
Jaidyn Ann | 58aedf06c0 |
13
README.md
13
README.md
|
@ -72,10 +72,17 @@ $ sudo cp eksd /usr/local/bin/eksd
|
||||||
Bam, you've made and installed a binary! Cool!
|
Bam, you've made and installed a binary! Cool!
|
||||||
|
|
||||||
### Tests
|
### Tests
|
||||||
eksd’s tests can be run using the `test` Makefile target, or simply
|
eksd’s tests can be run from a REPL using `ASDF:TEST-SYSTEM`, or from the
|
||||||
`(asdf:test-system :eksd)` and `(asdf:test-system :eksd-unix)`.
|
Makefile target “test”.
|
||||||
|
|
||||||
`$ make test`
|
```
|
||||||
|
* (asdf:test-system :eksd)
|
||||||
|
* (asdf:test-system :eksd/unix)
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
`$ make test
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
|
|
|
@ -283,6 +283,10 @@
|
||||||
|
|
||||||
;; list → list
|
;; list → list
|
||||||
(defun de-tail (list)
|
(defun de-tail (list)
|
||||||
"Remove the last element from a list."
|
"Return a list sans its last element."
|
||||||
(reverse (cdr (reverse list))))
|
(reverse (cdr (reverse list))))
|
||||||
|
|
||||||
|
;; list → object
|
||||||
|
(defun tail (list)
|
||||||
|
"Return the last element of a list."
|
||||||
|
(car (last list)))
|
||||||
|
|
Ŝarĝante…
Reference in New Issue