Search
21:18:18
quipa
hello, new to common lisp, using sbcl on linux mint, I installed the cl-quicklisp package but it doesn't seem to be accessible in sbcl
21:18:45
quipa
Any ideas what I should configure? Or should I just uninstall that package and follow the procedure in the website
21:20:01
quipa
Hum in synaptic I notice the package installed /usr/share/cl-quicklisp/quicklisp.lisp
21:21:12
quipa
running that seems to work
21:21:25
quipa
wonder why the package install doesn't do that automatically
21:22:37
p_l
quipa: ... let's just say that debian packaging isn't exactly good?
21:23:35
quipa
what packaging is xD, still haven't come by a good cross-platform language agnostic package manager
21:23:54
p_l
well, language agnostic in this case doesn't necessarily works
21:23:55
quipa
still usually try to use the default package manager if I can
21:24:07
p_l
I normally do manual install of quicklisp, recently been testing roswell
21:24:34
quipa
running the script from the install package seems to work
21:25:02
quipa
the only thing I am wondering now is if the other packages that get installed by the system package manager will be easy to use
21:26:16
quipa
when it comes to package managers I love this essay http://michael.orlitzky.com/articles/motherfuckers_need_package_management.xhtml
21:31:12
quipa
https://lispcookbook.github.io/cl-cookbook/getting-started.html
21:31:40
quipa
this suggests the procedure for debian based systems
21:32:36
asarch
How do you invert the elements of a list: '(eins zwei drei) => '(drei zwei eins)?
21:34:06
p_l
asarch: have you tried (reverse ...) ?
21:41:20
asarch
Thank you very much p_l! :-)
22:04:56
quipa
nydel: good night over here :)
0:56:15
Lord_of_Life_
** NICK Lord_of_Life
3:45:22
beach
Good morning everyone!
4:28:44
eschatologist_
** NICK eschatological
4:28:50
eschatological
** NICK eschatologist
6:44:28
jackdaniel
(expt -10 1.0) ; what should this evaluate to? #c(-10.0 0) or -10.0 ;?
6:44:56
jackdaniel
my reading of clhs says: it is a complex, but sbcl seems to disagree
6:46:46
pjb
#+ccl (expt -10 1.0) #| --> #C(-10.0 1.2246468E-15) |# #
6:48:46
jackdaniel
yes, ecl says something simila
6:49:14
pjb
(expt -10 1) #| --> -10 |# I guess they test (= 1 1.0) #| --> t |# and perform the integer expt.
6:49:33
lieven
yeah but they shouldn't
6:49:39
jackdaniel
but 1.0 is not integer
6:49:43
lieven
1. is an integer 1.0 isn't
6:49:54
jackdaniel
also, (expt -10.0 1.0) yields the same
6:50:07
White_Flame
it also says it "can" return a complex if it's not an integer, not that it "must"
6:50:24
pjb
What I meant is that they could have returned -10, but not -10.0
6:50:47
jackdaniel
White_Flame: "The result is always the principal complex value"
6:50:51
jackdaniel
in next sentence
6:51:14
pjb
(values #c(-10 0) #c(-10.0 0)) #| --> -10 ; #C(-10.0 0.0) |#
6:51:15
White_Flame
I would say that follows and is contained in the preceding "if"
6:51:18
jackdaniel
while #c(-10 0) indeed always collapses to -10, it is a different story for floats
6:54:04
jackdaniel
thanks for chipping in with your understanding/interpretations