freenode/lisp - IRC Chatlog
Search
14:24:16
Gnuxie[m]
ey: I think the bridge broke, but yes you can't rely on TCO if you want your code to be portable
16:17:07
sjl
stas' macbook got funded despite the paypall issues so presumably SBCL will eventually run there without rosetta
17:55:09
n3t
Hello. I'm looking for general (i.e. not only CL) LISP-related Freenode channels. Where should I go?
18:34:35
samlamamma
You can't get the direct superclasses given some class, right? Like #'compute-direct-superclasses doesn't exist in the standard
18:37:25
jackdaniel
samlamamma: how about (c2mop:class-direct-superclasses (find-class 'integer)) ;?
21:02:25
Xach
aeth: that's one option. (load "asdf.lisp") is another. you could mix a compile-file into there too.
21:05:02
aeth
This seems to keep the version the same even though it loads (if you turn silent off): (list (asdf:asdf-version) (progn (ql:quickload :asdf :silent t) (asdf:asdf-version)))
21:06:31
Xach
ralt: I am not interested in pushing an implementation's version past where the implementation maintainers have chosen.
21:07:39
aeth
There are a bunch of fixes from 2020 for package-local-nicknames in newer ASDF versions than most (any?) implementations seem to provide. e.g. https://github.com/fare/asdf/search?q=nickname&type=commits
21:13:12
Xach
You can quickload asdf if you download asdf sources and put it someplace asdf can find it.
21:14:42
aeth
So I guess if you use something fixed in 2020, you have to get everyone to upgrade ASDF, and you have to have your CI check out the ASDF repo into local-projects
22:28:06
phantomics
a question: why does entering numbers in scientific notation always yield a float? Like 10e10 returns a float when the number can be expressed as an integer. Is there a way to enter numbers in e-notation yielding ints when possible?
22:29:55
aeth
You can do (round 10d10) but you'd need enough precision in the original, e.g. 10e10 (equivalent to 10f10 by default) won't give you the exact answer
22:40:27
_death
phantomics: when writing numbers in scientific notation, you deal with real values.. that some of them can also be represented as integers is incidental.. if these translate to a different type, it would be inconvenient because usually a programmer's choice of whether to use floats or integers is explicit
23:01:47
aeth
_death: well, I mean... 9.8e10 is an integer and 9.8e0 isn't, but it's not like you couldn't have scientific notation that results in a rational (bignum/bignum, rather than an integer) or error if it's not an integer, or have some rounding rule, or...
23:04:11
tinga
I'm trying to run an existing project and it complains that ASDF package doesnt exist, so I added (load "/usr/lib/sbcl/contrib/asdf.fasl") to the init file, now it complains that package QL doesnt exist. I suspect it might be quicklisp but while (load "/usr/share/common-lisp/source/quicklisp/quicklisp.lisp") pointed me to run (quicklisp-quickstart:install), which I did, it now still complains about QL not existing.
23:06:29
_death
aeth: 9.8e10 is not an integer in Lisp.. it is an integer in math, but some languages choose to support multiple representations for a single mathematical value..