freenode/#lisp - IRC Chatlog
Search
21:44:46
bbsl
I guess I do not understand return values very well (or at all) in cl. "setf" will morph the input given in the context of the funtion or? I just want to return a new list with the new values
21:46:00
Bike
that's fine. it's not how i'd write it but there's nothing wrong with doing it that way, it's just maybe inefficient
21:46:53
Bike
plus that way you don't have to understand setf yet, because I don't think you do based on that description
21:47:57
LdBeth
bbsl: But I don’t see your code do anything “halt” the program when the op is 99, so I guess that’s the problem
21:49:07
Bike
i'm pretty sure the initial problem is that with the offsetn = 0 thing, eval-current isn't called at all.
21:51:11
Bike
with this structure, to handle 99 correctly i suppose you could have eval-current return some kind of special object (e.g. nil) to indicate that there is nothing left to do, and then eval-all has to check that
21:51:25
bbsl
LdBeth: how should I go about making it halt then I guess I can check if last-return from eval-current == this-return or I can return nil when I get 99 and always keep last-return so I can return that when I get nil
22:10:47
bbsl
While we are at it does anyone know of a link to a decent cl dev-env setup for emacs? I am using slime currently but that is about it. Would be nice if it was possible to get flychecking and company mode working ie.
22:13:18
bbsl
I was using spacemacs but they borked scala support with the whole metals/ensime thing so I stopped using it :o. ty for the link will check it out.
3:39:51
mister_m
I have a user-entered pathname that I've invoked (uiop:ensure-directory-pathame ...) on. I want to use that base directory and then join it with another "relative namestring" to make a full pathname to a file. If my pathname is #P"/home/x/y/z/", and i want to join on "testing/a/path.txt" to it to make in total #P"/home/x/y/z/testing/a/path.txt", how can I do that? Trying uiop:merge-pathnames* gives me #P"/home/x/y/z/path.txt". I'm
7:14:32
no-defun-allowed
Random question, is it specified if #+FOO will intern FOO in the package KEYWORD?
7:16:51
Shinmera
"#+ operates by first reading the feature expression and then skipping over the form if the feature expression fails. While reading the test, the current package is the KEYWORD package. "