spdegabrielle has quit [Quit: Connection closed for inactivity]
svm is now known as msv
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
akoana has joined #commonlisp
manwithluck has quit [Ping timeout: 248 seconds]
manwithluck has joined #commonlisp
qsaiyan has joined #commonlisp
JuanDaugherty is now known as ColinRobinson
<cdegroot>
Hetzner is probably the largest hoster in EU, or second-largest (OVH is another large player). If you're not in Europe, you probably never heard of them :-)
surabax has quit [Quit: Leaving]
uhuh` has quit [Remote host closed the connection]
ColinRobinson has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
robin__ has quit [Remote host closed the connection]
robin__ has joined #commonlisp
robin__ has quit [Remote host closed the connection]
Pixel_Outlaw has quit [Quit: Leaving]
zwr has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
jonatack has quit [Remote host closed the connection]
jonatack has joined #commonlisp
pabs3 has quit [Read error: Connection reset by peer]
pabs3 has joined #commonlisp
jonatack has quit [Ping timeout: 244 seconds]
jonatack has joined #commonlisp
garlic0x10 has joined #commonlisp
garlic0x1 has quit [Ping timeout: 268 seconds]
garlic0x10 is now known as garlic0x1
shka has joined #commonlisp
pve has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
edgar-rft` has joined #commonlisp
edgar-rft has quit [Ping timeout: 276 seconds]
rgherdt has joined #commonlisp
emaczen has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Remote host closed the connection]
stanrifkin has joined #commonlisp
JuanDaugherty has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
<beach>
Shinmera: I am considering creating static HTML pages from S-expressions. What would be a good library? I know even the author (Edi) does not recommend cl-who, but I have not been following discussions on what would be better.
<Shinmera>
I'm afraid I have no suggestions, since I prefer writing HTML directly (and using all the editor support that comes with that).
<beach>
I see. Thanks. I might end up doing that.
<beach>
That's what I have been doing in the past.
<Shinmera>
I have a system called Clip, which adds special HTML tags and elements to do templating and so on with, for when some amount of generation is required.
<beach>
I see, yes. I have been using m4 actually. It seemed like a simple solution at the time I did it.
<Shinmera>
You could probably also trivially write your own preferred s-expression syntax that generates a DOM with Plump.
<beach>
Sure.
<Josh_2>
Spinneret is my goto
<beach>
Josh_2: I see.
<beach>
I fear that HTML generators are similar to testing frameworks and markup languages, in that there are so many to choose from that no consensus can be had.
<Shinmera>
right :)
<Josh_2>
I've used only two, spinneret and the one provided by Franz in Allegro
<Josh_2>
the one provided by Franz is awful in comparison
gnoo has quit [Ping timeout: 265 seconds]
JuanDaugherty is now known as ColinRobinson
emaczen has quit [Ping timeout: 252 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 248 seconds]
Lord_of_Life_ is now known as Lord_of_Life
GalaxyNova has quit [Ping timeout: 245 seconds]
bitspook has quit [Read error: Connection reset by peer]
bitspook has joined #commonlisp
yewscion has joined #commonlisp
yewscion_ has quit [Read error: Connection reset by peer]
ColinRobinson has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
gnoo has joined #commonlisp
phantomics has quit [Ping timeout: 276 seconds]
skeemer has joined #commonlisp
phantomics has joined #commonlisp
bjorkintosh has quit [Remote host closed the connection]
<uhuh>
I'm trying to generate lambdas whose arguments are to be determined at runtime, is there something like ensure-class for functions?
<beach>
uhuh: There is no such thing as "lambdas", only functions that may or may not be anonymous. At run time, you can use (SETF FDEFINITION) to associate a global name with a function that is computed at run time.
<uhuh>
Right, but can I generate the lambda-list for a function from a list of symbols?
<uhuh>
Oh I hadn't thought to eval things, thanks!
<beach>
EVAL or COMPILE are the only possibilities for turning a lambda expression into a function.
<beach>
And you need for it to be a function in order to call it.
<beach>
This is why I insist there is no such thing as "a lambda". There are lambda expressions that are not functions, and there are functions that are the result of evaluating lambda expressions.
<beach>
uhuh: Does that make sense?
<uhuh>
Yeah I think I understand
<beach>
Great!
<uhuh>
But then where does the lambda form fall in this interpretation? A call to ,(lambda (x) (+ 1 x)) returns a function, but it's not an eval or compile
<ixelp>
(lambda (x) (+ 1 x)) => #<Anonymous Function #x144C45BE>
emaczen has joined #commonlisp
<beach>
It is evaluated implicitly by the rEpl.
<uhuh>
I know it evals/compiles behind the scene but do you count that as such or as a lambda expression?
<uhuh>
right
<beach>
Yes, (lambda (x) (+ 1 x)) is an expression, in fact a list of three sub-expressions. The first sub-expression is a symbol, and the other two are lists.
akoana has quit [Ping timeout: 244 seconds]
<beach>
Similarly (+ 2 3) is an expression. If you type that into the REPL it will also be evaluated. This time, a number results, whereas with LAMBDA a function results.
<uhuh>
Ok that makes sense
uhuh has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
<beach>
I should be more careful perhaps. (lambda (x) (+ 1 x)) is initially a sequence of characters that the reader turns into the expression that I previously said. That's the R in the REPL. Only then is the expression evaluated.
JuanDaugherty has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
rgherdt_ has joined #commonlisp
rgherdt__ has joined #commonlisp
rgherdt has quit [Ping timeout: 252 seconds]
<beach>
Another way of looking at it: + is the addition operator, it returns the sum of its arguments. LAMBDA is the operator that creates functions. It returns a function described by the lambda list and body forms.
rgherdt_ has quit [Ping timeout: 265 seconds]
apac has joined #commonlisp
<bjorkint0sh>
lambda is a meta function then?
bpanthi977 has joined #commonlisp
<beach>
Nope, because it is not a function at all. It is in fact a macro, but you can pretend it is a special operator.
<bjorkint0sh>
this is not the lambda according to Church then!
chiselfuse has quit [Remote host closed the connection]
<bike>
lambda abstraction isn't a function either, except maybe in a metasyntactic sort of way. also, lisp isn't lambda calculus.
<bjorkint0sh>
bike: naturally. it's list processing.
<bjorkint0sh>
(or was primarily, at one point)
chiselfuse has joined #commonlisp
mgl has joined #commonlisp
<Josh_2>
Its still really good at list processing
mgl has quit [Ping timeout: 244 seconds]
apac has quit [Ping timeout: 276 seconds]
bpanthi977 has quit [Ping timeout: 252 seconds]
jonatack has quit [Ping timeout: 276 seconds]
jonatack has joined #commonlisp
kevingal has quit [Ping timeout: 265 seconds]
toadlicker has quit [Remote host closed the connection]
tuck has joined #commonlisp
toadlicker has joined #commonlisp
eddof13 has joined #commonlisp
eddof13 has quit [Quit: eddof13]
eddof13 has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 265 seconds]
Guest47 has joined #commonlisp
kevingal has joined #commonlisp
Guest47 has quit [Remote host closed the connection]
cercopith has joined #commonlisp
toadlicker has quit [Remote host closed the connection]
toadlicker has joined #commonlisp
toadlicker has quit [Remote host closed the connection]
Spawns_Carpeting has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
jonatack has joined #commonlisp
Spawns_Carpeting has joined #commonlisp
ello_ has quit [Read error: Connection reset by peer]
eddof13 has quit [Quit: eddof13]
ello_ has joined #commonlisp
eddof13 has joined #commonlisp
ello has quit [Ping timeout: 260 seconds]
ello_ has quit [Ping timeout: 276 seconds]
JuanDaugherty has joined #commonlisp
phantomics has quit [Ping timeout: 248 seconds]
puercopop has joined #commonlisp
<emaczen>
Can anyone confirm for me that sb-alien:define-alien-callable (I think previously define-alien-callback) no longer stores the function in a symbol and to get the function, we have to use sb-alien:alien-callable-function -- This could have been changed 4+ years ago...
matt` has joined #commonlisp
matt` has quit [Remote host closed the connection]