aboutsummaryrefslogtreecommitdiff
path: root/packages.lisp
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2025-02-10 07:25:43 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2025-02-11 00:40:19 +0000
commit279437cb81478bc5807674d15120fb38f7ebc3c3 (patch)
tree90a1299379b98428c18a46a04f2d088b18847179 /packages.lisp
parent2d49ed25acc03550036b124e2ffade0edf812150 (diff)
downloadcantedraw-279437cb81478bc5807674d15120fb38f7ebc3c3.tar.gz
cantedraw-279437cb81478bc5807674d15120fb38f7ebc3c3.tar.bz2
cantedraw-279437cb81478bc5807674d15120fb38f7ebc3c3.zip
Implement `split` function.
Given a list and index into that list, return a cons where the car is all elements up to that index (exclusive) and the cdr is the rest of the list.
Diffstat (limited to 'packages.lisp')
-rw-r--r--packages.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages.lisp b/packages.lisp
index 58c848e..72d4dc5 100644
--- a/packages.lisp
+++ b/packages.lisp
@@ -29,7 +29,7 @@
(:use :cl :lib.macros)
(:export
:parse-integer*
- :range :take))
+ :range :take :split))
(defpackage main
(:use :cl :lib.macros)