freenode/#lisp - IRC Chatlog
Search
3:09:58
pierpa
ealfonso: you could abstract and give a name to the action "print a few things separated by tabs and then swithch to a new line"
3:16:58
ealfonso
pierpa yeah, I was just wondering if there's a built-in way with format or another standard way
3:20:58
pierpa
Not sure if there's a format trick for doing it in an obfuscated way saving one or two keystrokes. But even if, don't. :)
3:23:25
pierpa
you surely won't like it, but FWIW, here's how I would do it: (defun print-line-tab-separated (where &rest what) (princ (first what) where) (loop for item in (rest what) do (princ #\tab where) (princ item where)) (terpri))
3:34:04
mange
ealfonso: Would (format log-fh "~@{~a~^ ~}" ip date user-agent path) do what you want? (Note the literal tab in the format string.)
4:55:30
jasom
on_ion: Other than initialization and garbage collection, all of sbcl is written in CL.
5:09:40
pillton
I think it would be difficult to integrate an independent implementation of CLOS with the host's implementation of typep; assuming the host doesn't have CLOS already.
5:15:33
jackdaniel
pillton: CLOS is integral part of ECL now, but years ago (before I even knew about the project) it had option to build it without CLOS – type implementation there is independent
5:32:03
theemacsshibe[m]
it's all good but to handle improper lists like `(x . xs)` i need to add a conditional setf which i don't like very much
5:38:43
mange
theemacsshibe[m]: At the moment if you call (p-match 'a 10) you get back '(a . 10), but if you call (p-match '(a) '(10)) you get '((a . 10)). That's surprising to me.
5:39:07
mange
If you make it so p-match always returns a list of matches, I think you can also clean up your conditional setf, and the conditional after it.
5:41:27
theemacsshibe[m]
aaaaactually given i want to put this on an environment alist there could be a better solution
5:48:13
theemacsshibe[m]
my end goal is to port it to cee to get it working in my interpreter for lambdas
11:36:46
theemacsshibe[m]
I'm gonna go do some stuff, totally not murdering that scientist board that liked Mr Curry, with the time machine I built.
11:38:04
theemacsshibe[m]
(let ((time (- time (years 30))) (loop for person in (getf haskell :design-group) do (murder person) collect (scalp-of person)))
11:53:43
BernhardPosselt
hi, what features should I look into for expanding my horizon? I know the usual web stack, Java, Rust and a bit of Haskell
11:54:21
BernhardPosselt
shouldnt knowing macros or compiler plugins cover most of the power of Lisp already?
11:56:01
Xach
It will be hard to learn new things if you decide in advance what you'll get out of it.
11:56:50
Xach
https://medium.com/@MartinCracauer/a-gentle-introduction-to-compile-time-computing-part-1-d4d96099cea0 is the start of a nice series on a Common Lisp advantage
11:58:04
BernhardPosselt
syntax for me is off putting but I've heard from so many places that you should learn a Lisp language because it's powerful
11:58:36
ecraven
BernhardPosselt: to me, the syntax is one of the strongest points in favour of lisp ;)
11:59:46
Xach
https://www.reddit.com/r/lisp/comments/4oo1cp/common_lisp_for_clojure_programmer/d4eec68/ is a nice post about what it's like to use lisp
12:45:06
ecraven
Xach: ah, there's only two parts so far? This seems like a book I would gladly pay for, but it hasn't been written yet :-/
13:09:27
Colleen
loke: drmeister said 8 hours, 52 minutes ago: The dev branch built - I pushed it to the master branch
13:11:17
drmeister
You may want to try it out - but it needs a special build of boehm and a little more setup than usual.
13:12:26
drmeister
Yes - we have not integrated the boehm build system into clasp - it's a bit of a PITA
13:13:19
drmeister
It's still "experimental" - but it's been working for weeks in several peoples hands.
13:14:19
drmeister
If you have more than ~8 cores the build becomes dominated by other linear processes.
13:16:10
_death
ecraven: I think a very strong point for lisp is that it's not just a language, but also a "living" system.. when developing you simultaneously evolve the lisp language and the lisp process
13:16:56
ecraven
_death: I've been working with SLIME a lot with different Schemes (implementing an r7rs swank), and I've come to found out that while I prefer the *language* Scheme, it just cannot compare in any way to the *system* Common Lisp
13:17:24
ecraven
I haven't found any Scheme that comes even remotely close to debugging, introspection and mutation of running systems in common lisp
13:17:50
ecraven
I am very much a fan of "world" systems, and it seems every Scheme implementation has mostly just given up on that :-/
13:18:38
_death
just today I put back a screencast I made a while ago.. it's a bit long, but may be entertaining to "advanced" lispers.. https://adeht.org/casts/new-project.html
13:18:53
ecraven
loke: years ago, I find it interesting, but not something I would want to actually use the way I use lisp now
13:19:01
loke
ecraven: Smalltalk is nothing like Lisp, but has the same system-based development model. If you try it, and you like the model there, ten that suggests that that is indeed the aspect you like.
13:19:20
ecraven
loke: oh, I like that aspect of smalltalk, I don't like all the visual things it necessitates
13:19:23
loke
ecraven: All of those languages are more or less system-based in the way you described.
13:20:56
ecraven
erlang might be similar, in that you can connect to a running world, modify things, and it keeps working
13:22:31
loke
ecraven: Yes, but it's more limited. You have to rebuild one module at a time. You can't just recompile a function.
13:24:16
ecraven
in a way, it is a bit dismaying to find that *no* other language can compare with CL in this aspect :-/