Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
73 views

I have the following problem: Setting values of large arrays is consing in sbcl and since I have to do that frequently, the heap space fills up quite quickly. What is the reason for the consing and (...
Orm Finnendahl's user avatar
0 votes
1 answer
42 views

I am having issues with installing ISLISP-MODE and ISLISP-REPL within Emacs, to be able to use Emacs as my editor for tinkering with Easy-ISLISP (EISL). I did follow the instructions in the two ...
haziz's user avatar
  • 13.8k
1 vote
1 answer
64 views

It is possible to omit a character for the last iteration with format by prepending it with the ~^ format directive: (format nil "~{~A~^,~}" '(1 2 3)) ;; -> "1,2,3" It is also ...
vmonteco's user avatar
  • 16k
0 votes
1 answer
46 views

The standard does not allow to inherit from built-in classes, such as simple-string or vector. If we want custom vector or string, we have to wrap a vector or string in our own class or struct. At ...
myname's user avatar
  • 368
1 vote
1 answer
76 views

I get this since… a few days. Can't relate to a particular change, it would be too easy. Does that ring a bell for you? It happens when I "quickload" cl+ssl. $ sbcl * (ql:quickload "cl+...
Ehvince's user avatar
  • 18.8k
4 votes
1 answer
137 views

When I run (member "foo" '("foo") :test #'eql), it seems to evaluate differently depending on the environment in which it's happening: NIL in a "vanilla" common lisp ...
vmonteco's user avatar
  • 16k
0 votes
1 answer
80 views

I'm reading a file with uiop:read-file-lines The documentation says: beware: be sure to use with-safe-io-syntax, or some variant thereof This is what I tried: (defun sample-input () (uiop:with-...
user1785730's user avatar
  • 3,944
Tooling
0 votes
0 replies
75 views

I have created a plugin for lazy: .config/nvim/lua/plugins/slimv.lua: return { "kovisoft/slimv" } Now, how do I start a REPL in neovim? I have also created a minimal common lisp file: ...
user1785730's user avatar
  • 3,944
2 votes
1 answer
114 views

When I use the REPL I get this result: * (block my-block (print "We see this") (return-from my-block 10) (print "We will never see this")) "We see this" 10 * ...
Retufom's user avatar
  • 45
Advice
0 votes
9 replies
127 views

Lisp beginner. I am trying to add an element to a list inside a function. (defun add-element (e lst) (setf lst (cons e lst))) I cannot use the return of the function to change the original list but ...
user2319244's user avatar
2 votes
1 answer
183 views

I tried to debug the function below (find-3rd-largest), and wanted to execute expressions step by step from (break), as I did for other programming languages. So, I compiled the function with C-u C-c ...
dhnam's user avatar
  • 163
Advice
2 votes
2 replies
69 views

In a package I am developing I often get lists of lists. The single lists are very long and I would like to write them on a file controlling the output length as in the example. If I simply use (write ...
ponipei's user avatar
  • 23
0 votes
1 answer
80 views

I am trying to understand why when I declare types, things seem to go very wrong in SBCL. Here's a little file I created to reproduce the problem: (defpackage p1 (:use :cl) (:export #:do-it #:keytype))...
Renato's user avatar
  • 13.8k
-1 votes
1 answer
101 views

About three years ago I tried to follow the GTK3 tutorial for Common Lisp. I had different problems then, but many of the examples worked without any complains. Now I took the time to reconsider it, ...
Demihm Seinname's user avatar
2 votes
0 answers
151 views

When I compile (with (speed 3)) the following (example) code with SBCL Common Lisp, the compiler issues this warning in relation with function triple returning a double-float: "doing float to ...
Nicolas56's user avatar
  • 186

15 30 50 per page
1
2 3 4 5
429