diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-02-10 06:31:43 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-02-11 00:40:19 +0000 |
commit | ef572b992b57011efd6dbfe649b0ba68f5f5f320 (patch) | |
tree | 587be7464a63920723a88220bd2b1809a5eb0d3e /packages.lisp | |
parent | 5a48b66dd649a4dafce56749487f8060637e452c (diff) | |
download | cantedraw-ef572b992b57011efd6dbfe649b0ba68f5f5f320.tar.gz cantedraw-ef572b992b57011efd6dbfe649b0ba68f5f5f320.tar.bz2 cantedraw-ef572b992b57011efd6dbfe649b0ba68f5f5f320.zip |
Introduce lib.functions which includes helper functions
Splitting macros and functions into different packages and source code
makes it easier to look at. Functions currently implemented:
- range: like Python's range
- parse-integer*: parse-integer but junk-allowed is set to t.
Diffstat (limited to 'packages.lisp')
-rw-r--r-- | packages.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages.lisp b/packages.lisp index f7e56a6..aff5b68 100644 --- a/packages.lisp +++ b/packages.lisp @@ -24,6 +24,12 @@ :while :-> :fn)) +(defpackage lib.functions + (:use :cl :lib.macros) + (:export + :range + :parse-integer*)) + (defpackage main (:use :cl :lib.macros) (:export :start)) |