unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: jgart <jgart@dismail.de>
To: Guix Help <help-guix@gnu.org>
Subject: Re: Loading Common Lisp Libraries with GNU/Guix in a REPL
Date: Fri, 10 Dec 2021 05:54:54 -0500	[thread overview]
Message-ID: <20211210055454.GB6841@gac.attlocal.net> (raw)
In-Reply-To: <20211210054458.GB5842@gac.attlocal.net>

On Fri, 10 Dec 2021 05:44:58 -0500 jgart <jgart@dismail.de> wrote:

Alternatively, I was able to also load code this way also after running
the following:

```
$ guix shell sbcl sbcl-cl-str rlwrap

CL-USER(2):
jgart@gac ~ [env] λ rlwrap sbcl
This is SBCL 2.1.9, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
CL-USER(1): (asdf:make "str") 
WARNING: System definition file
#P"/gnu/store/aljfy13phr526w0iqmqz0cf2cnxkjxlb-sbcl-cl-ppcre-unicode-2.1.1/share/common-lisp/sbcl/cl-ppcre-unicode/cl-ppcre-unicode.asd"
contains definition for system "cl-ppcre-unicode-test". Please only
define "cl-ppcre-unicode" and secondary systems with a name starting with
"cl-ppcre-unicode/" (e.g. "cl-ppcre-unicode/test") in that file.

;;; Computing Hangul syllable names
T
CL-USER(2): (in-package :str)

#<PACKAGE "STR">
STR(3): (trim "  rst  ")

"rst"
STR(4): (join " " '("foo" "bar" "baz"))

"foo bar baz"
STR(5): (concat "f" "o" "o")

"foo"
STR(6): (split "+" "foo++bar")

("foo" "" "bar")
```


  reply	other threads:[~2021-12-10 10:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10 10:44 Loading Common Lisp Libraries with GNU/Guix in a REPL jgart
2021-12-10 10:54 ` jgart [this message]
2021-12-10 15:03   ` Edouard Klein
2021-12-12 17:01     ` Katherine Cox-Buday
2021-12-12 19:27       ` raingloom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211210055454.GB6841@gac.attlocal.net \
    --to=jgart@dismail.de \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).