Compare commits

..

2 Enmetoj

Author SHA1 Message Date
Jaidyn Ann fe50e2bcf8 Re-add erroneously removed function 2024-05-27 23:33:44 -05:00
Jaidyn Ann 58aedf06c0 Update README
Tweaking line-breaks, and mentioning the tests.
2024-05-27 23:33:35 -05:00
2 changed files with 15 additions and 4 deletions

View File

@ -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
eksds tests can be run using the `test` Makefile target, or simply eksds 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

View File

@ -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)))