freenode/#lisp - IRC Chatlog
Search
2:23:26
buffergn0me
What is not Common Lisp about https://gitlab.common-lisp.net/iterate/iterate ? Did something change?
2:26:07
pierpa
the first problem is that the third form in the file is (defconst version "1.4" "Current version of Iterate"), which is not CL, and hence does not get compiled by a CL compiler. I have not examined the rest of the source to see what else is broken.
2:31:43
pierpa
loading packages.lisp and iterate.lisp in sequence should work, and it used to work for decades. Now it doesn't.
2:42:34
clintm
Is there a mechanism of any sort that will allow me to iterate over a list and also step backward through that same list? I'm trying to avoid binding a symbol to the previous item, or the like.
2:43:01
pfdietz
Is that different from the ITERATE in QL? That also has a defconst macro in packages.lisp.
2:43:42
clintm
I haven't looked through the docs for iterate past a once-over glance. I'll look again though.
2:44:29
pfdietz
Step backwards? Not that I know of. In general that could be expensive, as ordinary lists do not have back pointers.
2:46:09
clintm
Well, maybe step backwards isn't the best way to describe it, but it looks like iterate's previous keyword is what I'm looking for. Testing it out now.
2:49:25
clintm
I think this is one of those situations where I need to just stop, take my hands off of the keyboard for a minute, and think about what I'm trying to do.
2:51:05
pierpa
this one better: (loop for y = nil then x for x in '(a b c d) do (print (list x y))) ==> (A NIL) (B A) (C B) (D C)
8:48:24
bendersteed
beach: i'm a noob in common lisp, and solve the advent of code in it so i lurk if i have to ask anything
11:36:54
flip214
for hunchentoot's EASY-SSL-ACCEPTOR, can I get the CN from a client certificate? Or any other data from x509?
13:18:10
neirac
how do debug this? https://pastebin.com/RtfnxAmM it only works if I use let* at the second let s-expr
13:19:45
schweers
neirac: you could add a (break) expression to enter the debugger. But I don’t see any reason why the inner LET should be a LET* instead.
13:23:34
schweers
Does Common Lisp specify in which order the expressions of a let clause are evaluated?
13:25:16
neirac
schweers my common lisp book just says let* evaluates each expression sequentially not as let. schweers is there any formatter for common lisp, I'm just using emacs
13:31:12
xificurC
use tabs *and* spaces, to confuse even more people :) https://www.emacswiki.org/emacs/SmartTabs
13:49:31
neirac
slime is just stuck evaluating, slime-interrupt does not work. it should work with let/let* . it seems is a network issue