close
Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

I'm have problems with a Lisp routine that returns an error when it meets a multiline attribute. I ask it to pause for user imput and it just returns " \ unkown imput" andthen stops. I have ...
Stephen Sillibourne's user avatar
1 vote
1 answer
69 views

I have looked a bit on the so called format compiler, the formatter macro. I have seen the discussion here, and I think I understand the theory. However the practice is a little-bit muddy. Or rather ...
myname's user avatar
  • 380
2 votes
2 answers
115 views

I am starting to learn the Scheme programming Language with Racket. I have a function in which another function is called, however this inner-function is not defined until after the definition of the ...
user32684637's user avatar
0 votes
1 answer
51 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
4 answers
161 views

I am trying to learn Lisp, but it seems like I can not quite get behind how the quotes and the evaluation works. Why does the following expression ((car '(car)) '(a b)) not evaluate to a in the REPL? ...
Nico's user avatar
  • 121
2 votes
0 answers
75 views

I am implementing circular evaluator in Chapter 4 SICP with racket, it seems that the code running fine only it cannot add new frames to the environment due to set-car! issue. I tried the followings: ...
QianruZhou's user avatar
Advice
2 votes
16 replies
6k views

The sortf function from Chapter 12 of the book "On Lisp" originally used get-setf-method, which is currently unavailable in a recent SBCL by default. Therefore, get-setf-expansion was used ...
dhnam's user avatar
  • 163
1 vote
1 answer
104 views

I'm experiencing a significant performance difference where OpenBLAS matrix multiplication runs 2x slower when called through Lisp CFFI compared to direct C calls, despite using the exact same ...
user31676144's user avatar
0 votes
1 answer
92 views

I’ve been reading about Lisp programming languages and trying to understand the core difference between macros and regular functions. From what I gather, Lisp’s macro system allows developers to ...
Mike Pyskin's user avatar
0 votes
2 answers
67 views

If I want to make a special-form conditional (making its value depend on a condition) in an expression like (FUNC ARGS) by making FUNC a conditional expression (if). I ended up trying with something ...
vmonteco's user avatar
  • 16.1k
0 votes
1 answer
90 views

Shadow-cljs has a resource loader that can include literal files into the Clojurescript code (ns app.my (:require [shadow.resource :as rc])) (rc/inline "file.txt") I need a macro that ...
Eva's user avatar
  • 603
2 votes
1 answer
231 views

I'm trying to discern how much performance gains I would achieve by converting Lisp (SBCL) code to assembly language. The time function on SBCL keeps giving counterintuitive results even for trivial ...
Iñaki Viggers's user avatar
-1 votes
1 answer
125 views

I am using a Windows 11 computer, running Steel Bank Common Lisp (version 2.0.0) in PowerShell by inputting functions directly into the SBCL.exe REPL to see if they work. In the process, I have hit ...
Ashley Ben Story's user avatar
1 vote
3 answers
157 views

I wrote a simple intersection function on two lists: (define (intersection l1 l2) (if (null? l1) '() (if (member (car l1) l2) (cons (car l1) (intersection (cdr l1) l2)) (...
david's user avatar
  • 1,593
1 vote
1 answer
105 views

I'm using Emacs, and I have a macro that's like a switch for regexes, and runs an expression with variables bound to match results. The indentation isn't what I'd like but I can't find if there's a ...
John Graham's user avatar

15 30 50 per page
1
2 3 4 5
471