diff options
author | jgart | 2021-12-29 01:46:15 -0500 |
---|---|---|
committer | jgart | 2021-12-29 01:46:15 -0500 |
commit | cc1cc5438fa0eb0be2df4c95471545ff2034c324 (patch) | |
tree | 4858256267600dd3c7aef91b1a0c05e9ce24f428 /topics | |
parent | f3e9633e94b03dd4178f6970436be6e265541261 (diff) | |
download | gn-gemtext-cc1cc5438fa0eb0be2df4c95471545ff2034c324.tar.gz |
lisp4schemers: mention iota from alexandria
Diffstat (limited to 'topics')
-rw-r--r-- | topics/lisp/lisp4schemers.gmi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/topics/lisp/lisp4schemers.gmi b/topics/lisp/lisp4schemers.gmi index e776915..9088092 100644 --- a/topics/lisp/lisp4schemers.gmi +++ b/topics/lisp/lisp4schemers.gmi @@ -38,3 +38,21 @@ CL-USER: (macroexpand '(loop for i below 12 collect i)) T ``` +#### Using iota from the alexandria library with GNU/Guix: + +``` +guix shell sbcl sbcl-alexandria rlwrap -- rlwrap sbcl + +``` + +``` +CL-USER: (asdf:make "alexandria") + +CL-USER: (in-package :alexandria) + +CL-USER: (alexandria:iota 12) + +(0 1 2 3 4 5 6 7 8 9 10 11) +``` + +=> https://common-lisp.net/project/alexandria/ alexandria |