170 questions
3
votes
2
answers
35k
views
Do you have to (ASDF:load-system :xxxx) and (ql:quickload :yyyy) everytime you want to work?
I'm missing an obvious part of ASDF / quickload / sly, and it's starting to drive me nuts.
It's mostly about the developer experience, but as I can't go past the very first steps, I'm unable to work ...
1
vote
1
answer
142
views
Why can't Quicklisp find package Alexandria-2 when installing lisp-stat?
I'm trying to install lisp-stat on my machine using quicklisp. I'm running Ubuntu 22.04. The install fails shortly after getting started with error:
No package named "ALEXANDRIA-2"
Prior to ...
0
votes
1
answer
143
views
SBCL VLIME use CFFI
I'm trying to learn common lisp but am having a very difficult time setting up my environment.
I'm trying to wrap a c library using cffi but I can't seem to get sbcl to find the cffi package. I have ...
1
vote
0
answers
42
views
ql:quickload evaluates to: Error: Attempt to do an array operation on nil which is not an array
On ACL, Windows, (ql:quickload "vecto") evaluates to:
"Error: Attempt to do an array operation on nil which is not an array."
:zoo brings:
(error type-error :datum ...) ->(ql-...
0
votes
0
answers
154
views
How to use libraries from Quicklisp in Common Lisp source code?
I am trying to program a tcp server using Common Lisp (sbcl) on Windows-11. My main goal is to create a stand alone executable tcp server.
So, I am using the usocket library (loading it with (ql:...
2
votes
0
answers
440
views
Alive Lisp extension 'alive:XXXX' not found in VSCode
Hi I have installed the Steel Bank Common Lisp(SBCL) and then installed Quicklisp and followed all the steps found here here.
The quicklisp server runs fine but I cannot run any Alive commands from ...
1
vote
0
answers
2k
views
How do you build pgloader from source using "make pgloader"?
I am trying to migrate a MySQL db to Postgres.
From what I've read online, it seems like pgloader is the best tool for this.
Background:
I installed pgloader with apt-get, but ran into an error when ...
0
votes
1
answer
102
views
One function refuses to export, while other functions export?
Yesterday, I asked a question about creating libraries with common lisp.
my lib:
;in my-lib.asd
(asdf:defsystem :my-lib
:depends-on (:cl-json :clsql :clsql-sqlite3)
:components ((:file "...
1
vote
1
answer
85
views
asdf:load-system after closing emacs?
When I create a new project with quickprojects, and then load it with asdf:load-system, everything works fine.
But when I come back to emacs after it has been closed and a run (asdf:load-system "...
0
votes
2
answers
191
views
a function called A-SUM that calculates Σpi=ni, where n≥0,p≥0. Below are examples of what A-SUM returns considering different arguments
CL-USER> (a-sum 0 3)
->> 6
I wrote this program :
(defun a-sum (x y)
(if (and (> x -1) (> y -1))
(do ((i 0 (1+ i))
(sum 0)
(num x))
((equal i (+ (- y ...
1
vote
0
answers
258
views
How can I resolve "sbcl.fasl" not found when trying to install usocket library for common-lisp [sbcl / WSL1 - Ubuntu 18.04.5]
I'm trying to use dexador library for lisp and cannot install it. I'm using quicklisp as package manager. I've been trying to use the command
(ql:quicklisp :dexador)
to load the desired library.
this ...
3
votes
5
answers
1k
views
How to use libraries in Common Lisp?
I'm a beginner in Common Lisp and I want to use a library.
I can't find a single one simple example of loading / requiring / using a module.
I've installed cl-ppcre like this :
$ sbcl --non-...
1
vote
1
answer
442
views
Socket error while installing Quicklisp in WSL2
Similarly to Connection refused error installing quicklisp, I am encountering this error when installing Quicklisp in WSL2:
* (quicklisp-quickstart:install)
debugger invoked on a SB-BSD-SOCKETS:...
3
votes
0
answers
557
views
Quickload Fails to Load Local Project Using Roswell
I have a project installed in quicklisp/local-projects, when I run (ql:quickload "my.proj") from SBCL (e.g., typing sbcl in the terminal) or from SLIME it works fine, but when I run the same ...
0
votes
0
answers
113
views
Error in Installing linear algebra library (lla) for Common Lisp (CLISP) - Emacs SLIME, Quicklisp
The Common Lisp Cookbook - https://lispcookbook.github.io/cl-cookbook/arrays.html
Linear Algebra library (lla) - https://github.com/tpapp/lla
I tried to install Linear Algebra libary (lla) using ...
3
votes
2
answers
377
views
How to get a list of all dependencies withing each system provided by Quicklisp?
I know how to list all systems providing by Quicklisp
(ql:system-list)
And I need to get a sort of most depended systems which I want to pack for Guix. Is there any ASD or Quicklisp facility which ...
0
votes
1
answer
822
views
there is no package with name "QL". while installing clisp
I'm trying to install lisp in my laptop by following the instruction command and steps that is suggested this site : https://grishagin.com/lisp/windows10/2017/01/26/install-lisp-Windows10.html.
I have ...
0
votes
2
answers
372
views
Can't set up qtools in common-lisp SBCL
I'm a beginner in lisp and I'm unable to find out how to correctly use defpackage to load qtools (on arch linux).
For simplicity if I run this example project in sbcl with loaded quicklisp
https://...
4
votes
1
answer
51
views
Is there a way to catch the moment when Common Lisp package was defined?
I want to collect all packages defined during ASDF system loading.
Already tried:
to use difference between (list-all-packages) before and after system loading, but it is not very convenient, because ...
1
vote
1
answer
142
views
Beginner question regarding lisp package manager: Is quicklisp the answer or do other things need to be considered?
I'm running Clozure Common Lisp and progressed to the point that I want to start using libraries. I see in lisp the functionality is in packages. Googling about I came across the QuickLisp package ...
1
vote
1
answer
488
views
Package lock error while installing SBCL CFFI package on Mac via Quicklisp
I'm trying to use curses from Common Lisp, and the commonly-used cl-charms and croatoan libraries need cffi. In SBCL on a Mac, ql:quickload usually works fine... but installing cffi (either directly ...
1
vote
2
answers
2k
views
How can you make ASDF stop trying to load a nonexistent file?
On Debian, I had a bunch of cruft installed in /usr/lib/sbcl/site-systems that wouldn't load because the FASLs didn't match the version of SBCL that is actually installed.
For some reason, none of ...
3
votes
1
answer
3k
views
How to load and use quicklisp program
I've set up quicklisp (with latest SBCL) and done
* (ql:quickload "draw-cons-tree")
and I get the reply
To load "draw-cons-tree":
Load 1 ASDF system:
draw-cons-tree
; Loading "draw-cons-tree"
...
2
votes
1
answer
307
views
Quicklisp's file setup.lisp does not load correctly
Hi all and thank you for reading my issue.
I can't load quicklisp's file setup.lisp from the lisp console.
It throws the following error:
Error loading C:/quicklisp/setup.lisp at line 134 (offset ...
1
vote
2
answers
543
views
Problems installing Common Lisp Sketch into Windows 10
I had trouble getting through errors for missing SDL DLL's and an FFI.H file while installing sketch with quicklisp. Posting my solution for this Windows 10 specific trouble, maybe there are other ...