From cc1cc5438fa0eb0be2df4c95471545ff2034c324 Mon Sep 17 00:00:00 2001 From: jgart Date: Wed, 29 Dec 2021 01:46:15 -0500 Subject: lisp4schemers: mention iota from alexandria --- topics/lisp/lisp4schemers.gmi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'topics/lisp') 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 -- cgit v1.2.3