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!
|
||||
|
||||
### Tests
|
||||
eksd’s tests can be run using the `test` Makefile target, or simply
|
||||
`(asdf:test-system :eksd)` and `(asdf:test-system :eksd-unix)`.
|
||||
eksd’s tests can be run from a REPL using `ASDF:TEST-SYSTEM`, or from the
|
||||
Makefile target “test”.
|
||||
|
||||
`$ make test`
|
||||
```
|
||||
* (asdf:test-system :eksd)
|
||||
* (asdf:test-system :eksd/unix)
|
||||
```
|
||||
|
||||
```
|
||||
`$ make test
|
||||
```
|
||||
|
||||
|
||||
## Misc
|
||||
|
|
|
@ -283,6 +283,10 @@
|
|||
|
||||
;; list → list
|
||||
(defun de-tail (list)
|
||||
"Remove the last element from a list."
|
||||
"Return a list sans its last element."
|
||||
(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