<jack-thomas>
aeth: Is the 'argument' to :output supposed to be a variable to hold the string? I'm confused because the documentation seems to show that by specifying both those keywords it returns a string.
<oni-on-ion>
remember: if it works for You, then its probably broken!
<oni-on-ion>
,clhs run-program
<oni-on-ion>
in uiop: ?
<aeth>
jack-thomas: iirc, it's a stream, and if you want it to be a string you have to make one with WITH-OUTPUT-TO-STRING like (with-output-to-string (output-stream) (run-program ... :output output-stream ...))
<aeth>
oni-on-ion: yes, it's UIOP
<oni-on-ion>
why not link to manual if discussing manual prose
<oni-on-ion>
ok
<aeth>
jack-thomas: uiop:launch-program has more options with streams, iirc. I had to wind up using launch-program.
<aeth>
oni-on-ion: those aren't the official documentation, but they're probably better than the official documentation
<oni-on-ion>
its generally easier to google textbox than to irc textbox , i understand when there is no info anywhere and needing human intervention tho
<aeth>
oni-on-ion: I don't think that existed when I first had to deal with lauch-program
<oni-on-ion>
yea but google.
<oni-on-ion>
so i am currently bent on this circus act of looking at macros completely differently
<jack-thomas>
aeth: aeth: oni-on-ion: "E.g., using :OUTPUT :STRING will have it return the entire output stream as a string. And using :OUTPUT '(:STRING :STRIPPED T) will have it return the same string
<jack-thomas>
".
<jack-thomas>
stripped of any ending newline.
<oni-on-ion>
i've just got to play around with them a bit more, but i've a question; it is not lengthy or complex but it will take me a minute to formulate
<jack-thomas>
whoops sorry for formatting. Maybe it is because I have no stream experience, but this (source documentation) really makes me think it should return a string
<oni-on-ion>
that would make sense..
<aeth>
jack-thomas: okay, so it does have string as a custom option, but it doesn't accept it?
<aeth>
weird
<jack-thomas>
Yeah, you can see my error pasted above. I am using SBCL
Fare has joined #lisp
actuallybatman has left #lisp ["ERC (IRC client for Emacs 27.0.50)"]
<aeth>
jack-thomas: Did you (ql:quickload :uiop) first? You always have it, but by default it's outdated and it does this weird upgrade thing when quickloaded.
<grewal>
Is the version of uiop you're running the same as the documentation?
<jack-thomas>
Haven't done anything. I just heard it was included is asfl (? not sure if that's right. not sure how the dependency systems work in general), and sounded like I was good to go. I will try some of those things
<jack-thomas>
Checking version and going for the quickload
<jack-thomas>
Thanks you
<oni-on-ion>
asdf
<jack-thomas>
yea
<oni-on-ion>
y'know, the keyboard
<jack-thomas>
ah right
<oni-on-ion>
(on qwerty)
<jack-thomas>
Sick. I already learned a ton ;) lol thanks a bunch to all here
eMBee has quit [Remote host closed the connection]
eMBee has joined #lisp
eMBee has quit [Remote host closed the connection]
eMBee has joined #lisp
<jack-thomas>
Yeah, so I tried quickloading again to no avail. I have asdf version 3.2.1 where it appears that the newest version is 3.3.3. However, it looks like nobody has modified the run-program documentation for at least a few years. Regardless, if anyone knows off the top of their head how to update asdf, let me know. Otherwise I will find a way.
eMBee has quit [Remote host closed the connection]
rdh has quit [Quit: Leaving]
FreeBirdLjj has joined #lisp
<jack-thomas>
And by 'modify run-program docs' I should say 'modify run-program' (including the docstring)
eMBee has joined #lisp
eMBee has quit [Remote host closed the connection]
eMBee has joined #lisp
<aeth>
jack-thomas: when testing this sort of thing (in any language, actually) I always use dc first because I can just use "1 1 + p q" as the input and it should print 2 and quit.
<aeth>
jack-thomas: Once I quickload UIOP with (ql:quickload :uiop :silent t) I can then do (with-input-from-string (in "1 1 + p q") (uiop:run-program "dc" :input in :output :string)) and I do get the output of a string of two characters, 2 and the newline.
<aeth>
Interestingly, *I* am getting my own issue here, where DC has the return value 1 so UIOP is erroring about that (I can just continue, though).
eMBee has quit [Remote host closed the connection]
<aeth>
This does work for me, though. (with-input-from-string (in "1 1 + p q") (uiop:run-program "dc" :input in :output :string :ignore-error-status t))
shifty has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
mange has quit [Ping timeout: 246 seconds]
eMBee has joined #lisp
eMBee has quit [Remote host closed the connection]
ebrasca has joined #lisp
eMBee has joined #lisp
eMBee has quit [Remote host closed the connection]
eMBee has joined #lisp
eMBee has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
<moldybits>
(with-input-from-string (in "1 1 + n") (uiop:run-program "dc" :input in :output :string)) works for me
eMBee has joined #lisp
eMBee has quit [Remote host closed the connection]
eMBee has joined #lisp
<aeth>
Why does p give me an error code but not n? That's probably more of a dc question than a run-program question. I guess n is what I'd want for this test, anyway.
eMBee has quit [Remote host closed the connection]
<aeth>
oh I see
<aeth>
It's interpreting the EOF as quit so it's getting two quits or something.
<aeth>
So the correct test is "1 1 + p" or "1 1 + n", not "1 1 + p q"
eMBee has joined #lisp
eMBee has quit [Remote host closed the connection]
<aeth>
Actually, it looks like "q" always gives it a return of 1 and C-d (and reaching EOF of a UIOP input stream) a return of 0.
<aeth>
moldybits: thanks for the correction!
Josh_2 has joined #lisp
eMBee has joined #lisp
t58 has quit [Quit: Leaving]
grewal has quit [Quit: leaving]
Fare has quit [Ping timeout: 252 seconds]
Fare has joined #lisp
v88m has joined #lisp
igemnace has joined #lisp
z3t0 has joined #lisp
eMBee has quit [Remote host closed the connection]
eMBee has joined #lisp
<jack-thomas>
aeth: well, thanks again. Hopefully some day I can give back to you and/or others in this room.
jack-thomas has quit [Remote host closed the connection]
zotan has quit [Ping timeout: 258 seconds]
zotan has joined #lisp
pierpal has joined #lisp
moldybits has quit [Quit: WeeChat 2.4]
kutsuya has quit [Remote host closed the connection]
eMBee has quit [Remote host closed the connection]
zotan has quit [Ping timeout: 252 seconds]
eMBee has joined #lisp
zotan has joined #lisp
eMBee has quit [Remote host closed the connection]
ym555 has quit [Quit: leaving...]
ym555 has joined #lisp
lavaflow has quit [Ping timeout: 252 seconds]
lavaflow_ has joined #lisp
eMBee has joined #lisp
igemnace has quit [Quit: WeeChat 2.4]
ym555 has quit [Client Quit]
ym555 has joined #lisp
eMBee has quit [Remote host closed the connection]
eMBee has joined #lisp
ebrasca has quit [Remote host closed the connection]
loke has joined #lisp
torbo has quit [Remote host closed the connection]
<beach>
Elronnd: The main purpose is to keep source information that we can propagate through the various steps of compilation.
<LdBeth>
beach: if it's allowed for a CL compiler to reject code that will produce a runtime error
<beach>
Good question. I don't recall having seen anything about that in the Common Lisp HyperSpec.
<pjb>
LdBeth: Not really. Because you can call the function that produces the run-time error with a handler-case, and expect the condition.
<pjb>
LdBeth: on the other hand, if the compiler can determine at compilation-time that an error would always be produced at run-time, it can generate only the code that signals the error.
<pjb>
(and not the code that would produce the error).
<LdBeth>
pjb: thank you
gravicappa has joined #lisp
<pjb>
(lambda () (/ 1 0)) can be compiled as (lambda () (error 'division-by-zero))
<beach>
That's how it is typically done, but I don't know that the Common Lisp HyperSpec has anything to say about it.
<LdBeth>
What I'm thinking is I can implement the readtable to accept only functions produce meaningful result
<beach>
That would be undecidable.
<LdBeth>
The function is compiled to a specification alters the behavior of parser
<LdBeth>
And the global side effects are handled by a environment object
<beach>
What problem are you trying to solve with this idea?
<LdBeth>
Rmm, it's a language behaves different to typical lisps but conforms ANSI CL in trivial cases
<beach>
I see, yes.
dddddd has quit [Remote host closed the connection]
<makomo>
morning!
<Xach>
sjl: i have some time this week to fuss with more polish and finish on openpgp-enabled quicklisp stuff. i'll keep you posted wrt testing.
* Xach
hopes to refine key processing and get dsa verification working this week
iskander has quit [Ping timeout: 252 seconds]
iskander has joined #lisp
v88m has quit [Ping timeout: 252 seconds]
MichaelRaskin has quit [Quit: MichaelRaskin]
_whitelogger has joined #lisp
_whitelogger has joined #lisp
ym has quit [Remote host closed the connection]
ym555 has quit [Ping timeout: 272 seconds]
<oni-on-ion>
polish and finnish?
v88m has joined #lisp
Inline has quit [Quit: Leaving]
esrse has joined #lisp
iovec has joined #lisp
dale has quit [Quit: dale]
<ck_>
Good morning.
<beach>
Hello ck_.
<aeth>
Xach: What do you use to fail on warnings in your Quicklisp tests? asdf:*compile-file-warnings-behaviour*? How do you handle packages that conflict with each other? Do you have to build each project one at a time, restarting between each build?
jprajzne has joined #lisp
SaganMan has joined #lisp
vlatkoB has joined #lisp
SaganMan has quit [Ping timeout: 244 seconds]
SaganMan has joined #lisp
anewuser has joined #lisp
SaganMan has quit [Ping timeout: 258 seconds]
orivej has joined #lisp
crystalball has joined #lisp
ym555 has joined #lisp
xantoz has joined #lisp
JohnMS_WORK has joined #lisp
_whitelogger has joined #lisp
moldybits has joined #lisp
oni-on-ion has quit [Quit: Leaving]
crystalball has quit [Remote host closed the connection]
crystalball has joined #lisp
crystalball has quit [Client Quit]
schweers has joined #lisp
scymtym has joined #lisp
rippa has joined #lisp
manualcrank has quit [Quit: WeeChat 1.9.1]
housel has quit [*.net *.split]
rme has quit [*.net *.split]
z3t0 has quit [*.net *.split]
pjb has quit [*.net *.split]
mfiano has quit [*.net *.split]
p_l has quit [*.net *.split]
svillemot has quit [*.net *.split]
SyrupThinker has quit [*.net *.split]
jdz has quit [*.net *.split]
interruptinuse has quit [*.net *.split]
aeth has quit [*.net *.split]
uplime has quit [*.net *.split]
dim has quit [*.net *.split]
zotan has quit [Ping timeout: 272 seconds]
zotan has joined #lisp
malm has joined #lisp
kdas_ has joined #lisp
schweers has quit [*.net *.split]
iovec has quit [*.net *.split]
mathrick has quit [*.net *.split]
dtw has quit [*.net *.split]
no-defun-allowed has quit [*.net *.split]
malm_ has quit [*.net *.split]
swflint has quit [*.net *.split]
voidlily has quit [*.net *.split]
adulteratedjedi has quit [*.net *.split]
brandonz has quit [*.net *.split]
d4ryus has quit [*.net *.split]
jackhill has quit [*.net *.split]
itruslove has quit [*.net *.split]
otwieracz has quit [*.net *.split]
drot has quit [*.net *.split]
kushal has quit [Ping timeout: 256 seconds]
shrdlu68 has joined #lisp
shka_ has joined #lisp
schweers has joined #lisp
voidlily has joined #lisp
dtw has joined #lisp
swflint has joined #lisp
d4ryus has joined #lisp
otwieracz has joined #lisp
no-defun-allowed has joined #lisp
iovec has joined #lisp
mathrick has joined #lisp
jackhill has joined #lisp
itruslove has joined #lisp
drot has joined #lisp
adulteratedjedi has joined #lisp
brandonz has joined #lisp
z3t0 has joined #lisp
rme has joined #lisp
pjb has joined #lisp
mfiano has joined #lisp
housel has joined #lisp
p_l has joined #lisp
jdz has joined #lisp
SyrupThinker has joined #lisp
aeth has joined #lisp
interruptinuse has joined #lisp
svillemot has joined #lisp
uplime has joined #lisp
dim has joined #lisp
femi has quit [Ping timeout: 264 seconds]
femi has joined #lisp
FreeBirdLjj has joined #lisp
nydel has quit [Read error: Connection reset by peer]
hhdave has joined #lisp
quazimodo has quit [Ping timeout: 272 seconds]
nowhere_man has joined #lisp
hhdave has quit [Ping timeout: 244 seconds]
ricekrispie2 has quit [Quit: YEET]
nowhere_man has quit [Ping timeout: 268 seconds]
esrse has quit [Ping timeout: 246 seconds]
notzmv has quit [Ping timeout: 246 seconds]
pierpal has quit [Ping timeout: 252 seconds]
kdas_ is now known as kushal
ggole has joined #lisp
notzmv has joined #lisp
pierpal has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
HDurer has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 252 seconds]
amerlyq has joined #lisp
karayan has quit [Ping timeout: 256 seconds]
libertyprime has joined #lisp
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life has joined #lisp
ym555 has quit [Quit: leaving...]
orivej has quit [Ping timeout: 246 seconds]
igemnace has quit [Ping timeout: 248 seconds]
igemnace has joined #lisp
igemnace has quit [Ping timeout: 248 seconds]
v88m has quit [Ping timeout: 268 seconds]
python476 has joined #lisp
<python476>
hi 'fellas
FreeBirdLjj has joined #lisp
<jackdaniel>
hello python476
<python476>
hi
<python476>
just wanted to greet lispers
DGASAU has joined #lisp
igemnace has joined #lisp
Fare has quit [Ping timeout: 244 seconds]
heisig has joined #lisp
Lycurgus has joined #lisp
<pjb>
lispers greeted.
<Josh_2>
ʕ·͡ᴥ·ʔ
Fare has joined #lisp
<Lycurgus>
does CCL have a channel here?
<jackdaniel>
yes, #ccl
<jackdaniel>
there are also: #abcl, #clasp, #ecl, #sbcl and #sicl
<jackdaniel>
for other implementaitons
<Lycurgus>
ty
libertyprime has quit [Ping timeout: 246 seconds]
cosimone has joined #lisp
libertyprime has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
orivej has joined #lisp
cosimone has quit [Quit: WeeChat 2.3]
jmercouris has joined #lisp
patrixl has quit [Remote host closed the connection]
<Xach>
aeth: i use asdf's default behavior on sbcl. i build each system in isolation on a new process.
jmercouris has quit [Ping timeout: 244 seconds]
dddddd has joined #lisp
iovec has quit [Ping timeout: 252 seconds]
adulteratedjedi has quit [Ping timeout: 252 seconds]
Bike has joined #lisp
chewbranca has quit [Ping timeout: 250 seconds]
voidlily has quit [Ping timeout: 252 seconds]
nowhere_man has joined #lisp
drdo_ has joined #lisp
housel has quit [Ping timeout: 248 seconds]
tehidiot has quit [Ping timeout: 250 seconds]
rvirding has quit [Ping timeout: 250 seconds]
drdo has quit [Ping timeout: 250 seconds]
drdo_ is now known as drdo
p_l has quit [Ping timeout: 248 seconds]
drot has quit [Ping timeout: 252 seconds]
rvirding has joined #lisp
chewbranca has joined #lisp
iovec has joined #lisp
mathrick has quit [Ping timeout: 252 seconds]
adulteratedjedi has joined #lisp
tehidiot has joined #lisp
rme has quit [Ping timeout: 248 seconds]
p_l has joined #lisp
swflint has quit [Ping timeout: 252 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
pent has quit [Ping timeout: 250 seconds]
FreeBirdLjj has joined #lisp
rozenglass has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
swflint has joined #lisp
drot has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Read error: Connection reset by peer]
iovec has quit [Quit: Connection closed for inactivity]
LiamH has joined #lisp
FreeBirdLjj has joined #lisp
jprajzne has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
shifty has quit [Ping timeout: 246 seconds]
iovec has joined #lisp
heisig has quit [Quit: Leaving]
CCDelivery has quit [Remote host closed the connection]
q9929t1 has joined #lisp
q9929t has quit [Ping timeout: 258 seconds]
q9929t1 is now known as q9929t
hhdave has joined #lisp
q9929t has quit [Ping timeout: 244 seconds]
q9929t has joined #lisp
jmercouris has joined #lisp
Xach has quit [Ping timeout: 246 seconds]
Xach has joined #lisp
cosimone has joined #lisp
housel has joined #lisp
svillemot has left #lisp [#lisp]
svillemot has joined #lisp
wigust- has joined #lisp
jmercouris has quit [Remote host closed the connection]
wigust has quit [Ping timeout: 246 seconds]
warweasle has quit [Quit: rcirc on GNU Emacs 24.4.1]
rozenglass has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
v88m has joined #lisp
schweers has quit [Ping timeout: 252 seconds]
FreeBirdLjj has joined #lisp
donotturnoff has joined #lisp
jdz has quit [Ping timeout: 248 seconds]
jdz has joined #lisp
v0|d has joined #lisp
hhdave has quit [Quit: hhdave]
rozenglass has joined #lisp
q9929t has quit [Quit: q9929t]
cross has quit [Quit: leaving]
grewal has joined #lisp
cross has joined #lisp
CCDelivery has joined #lisp
leotaku has quit [Ping timeout: 268 seconds]
saravia has quit [Remote host closed the connection]
asarch has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 248 seconds]
saravia has joined #lisp
<asarch>
One stupid question: as far I know, (let) is only for variables and (flet) for functions). Is there anything for both variables and functions?
<Xach>
asarch: not standard
<Bike>
no. what would that do? bind a name both as a variable and as a function?
saravia has quit [Remote host closed the connection]
<Bike>
or would you have to distinguish variables from functions somehow
saravia has joined #lisp
<asarch>
Using GTK+ for Common Lisp with cl-cffi-gtk: (within-main-loop (let ((window (make-instance 'gtk:window)) (gl-area (make-instance 'gtk:gtk-gl-area))) (flet ((render () (gl:clear(0 0 0 0)))) (gtk:g-signal-connect 'gl-area "render" render))...
orivej has quit [Ping timeout: 246 seconds]
<Bike>
#'render?
<Bike>
if you're just passing it to other things i'd just have a lambda
<asarch>
However, the render callback won't be outside the scope of (flet)
<asarch>
(let ... (flet ...)) or (flet ... (let ...))
<asarch>
Can you create a closure with (flet)?
<Bike>
sure
<Bike>
but i meant just have (let ((window ...) (render (lambda () (gl:clear 0 0 0 0)))) (gtk:g-signal-connect 'gl-area "render" render) ...)
<Bike>
that kinda thing
leotaku has joined #lisp
<asarch>
Thank you!
<asarch>
Thank you very much guys :-)
manualcrank has joined #lisp
ggole has quit [Ping timeout: 252 seconds]
jkordani has joined #lisp
clothespin has joined #lisp
rozenglass has quit [Remote host closed the connection]
Fare has joined #lisp
varjag has joined #lisp
Fare has quit [Ping timeout: 258 seconds]
scymtym has quit [Ping timeout: 250 seconds]
Fare has joined #lisp
Jesin has quit [Quit: Leaving]
Volt_ has joined #lisp
nowhere_man has joined #lisp
Fare has quit [Ping timeout: 252 seconds]
cpc26 has quit [Read error: Connection reset by peer]
clothespin has quit [Remote host closed the connection]
cpc26 has joined #lisp
oni-on-ion has joined #lisp
asarch has quit [Quit: Leaving]
hiroaki has joined #lisp
Fare has joined #lisp
nowhere_man has quit [Ping timeout: 252 seconds]
pierpal has quit [Remote host closed the connection]
kajo has joined #lisp
sauvin has quit [Read error: Connection reset by peer]
ravenous_ has joined #lisp
orivej has joined #lisp
varjag has quit [Ping timeout: 252 seconds]
cosimone has quit [Quit: WeeChat 2.3]
varjag has joined #lisp
rdh has joined #lisp
grewal has quit [Remote host closed the connection]
nydel has joined #lisp
cosimone has joined #lisp
nowhere_man has joined #lisp
oni-on-ion has quit [Ping timeout: 258 seconds]
Fare has quit [Ping timeout: 268 seconds]
lnostdal has quit [Remote host closed the connection]
milanj has joined #lisp
grewal has joined #lisp
ym555 has joined #lisp
jfb4 has quit [Ping timeout: 244 seconds]
hiroaki has quit [Ping timeout: 250 seconds]
gravicappa has quit [Ping timeout: 244 seconds]
amerlyq has quit [Quit: amerlyq]
saravia has quit [Quit: Leaving]
hiroaki has joined #lisp
Fare has joined #lisp
Fare has quit [Ping timeout: 272 seconds]
oni-on-ion has joined #lisp
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenous_ has joined #lisp
eschatologist has quit [Ping timeout: 258 seconds]
eschatologist has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
donotturnoff has quit [Remote host closed the connection]
rvirding_ has joined #lisp
leotaku has quit [Ping timeout: 272 seconds]
aeth_ has joined #lisp
uplime^ has joined #lisp
Syrup has joined #lisp
q3d has joined #lisp
kajo2 has joined #lisp
Fare has joined #lisp
kajo has quit [*.net *.split]
rvirding has quit [*.net *.split]
pjb has quit [*.net *.split]
SyrupThinker has quit [*.net *.split]
svillemot has quit [*.net *.split]
interruptinuse has quit [*.net *.split]
aeth has quit [*.net *.split]
uplime has quit [*.net *.split]
dim has quit [*.net *.split]
rvirding_ is now known as rvirding
Syrup is now known as SyrupThinker
dim has joined #lisp
svillemot has joined #lisp
notzmv has quit [Ping timeout: 248 seconds]
leotaku has joined #lisp
Lycurgus has joined #lisp
vlatkoB_ has quit [Remote host closed the connection]
Jesin has joined #lisp
bexx has joined #lisp
shifty has joined #lisp
python476 has quit [Ping timeout: 258 seconds]
saravia has joined #lisp
bexx has quit [Remote host closed the connection]
xantoz has quit [Quit: WeeChat 2.4]
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xantoz has joined #lisp
abarbosa has joined #lisp
CCDelivery has left #lisp ["Leaving"]
makomo has quit [Ping timeout: 246 seconds]
xantoz has quit [Quit: WeeChat 2.4]
pjb has joined #lisp
q3d has quit [Quit: Page closed]
scymtym has joined #lisp
xantoz has joined #lisp
uplime^ is now known as uplime
Kevslinger has joined #lisp
interruptinuse has joined #lisp
Fare has quit [Ping timeout: 245 seconds]
Bike has quit []
Lycurgus has quit [Quit: Exeunt]
Younder has joined #lisp
LiamH has quit [Quit: Leaving.]
saravia has quit [Ping timeout: 248 seconds]
kajo2 is now known as kajo
Fare has joined #lisp
Fare has quit [Ping timeout: 272 seconds]
varjag has quit [Ping timeout: 248 seconds]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 248 seconds]
Lord_of_Life_ is now known as Lord_of_Life
saravia has joined #lisp
ebrasca has joined #lisp
iovec has quit [Quit: Connection closed for inactivity]
femi has quit [Ping timeout: 272 seconds]
femi has joined #lisp
nowhereman has joined #lisp
wxie has joined #lisp
nowhere_man has quit [Ping timeout: 258 seconds]
Fare has joined #lisp
Bike has joined #lisp
cosimone has quit [Ping timeout: 252 seconds]
saravia has quit [Remote host closed the connection]
wxie has quit [Quit: wxie]
Fare has quit [Ping timeout: 272 seconds]
didi has joined #lisp
<didi>
Is there negative zero?
<p_l>
didi: I think it exists in floating point in practice, but I don't think standard says anything about it
<didi>
p_l: Thank you.
<Bike>
it says an implementation can have negative zero but doesn't have to, and that positive zero = negative zero but not eql
<p_l>
from CL:ZEROP spec: "Regardless of whether an implementation provides distinct representations for positive and negative floating-point zeros, (zerop -0.0) always returns true."
<Xach>
:)
quazimodo has joined #lisp
quazimodo has quit [Ping timeout: 272 seconds]
rdh has quit [Quit: Leaving]
quazimodo has joined #lisp
Kevslinger has quit [Quit: Connection closed for inactivity]