Search
Thursday, 26th of March 2020, 23:00:12 UTC
23:23:02
Josh_2
pjb: Thanks for the help :) I have it all working now!
0:13:58
amazoniantoad
Hi guys. Is there a way to suppress all warning from within slime?
0:20:18
Bike
all warnings from all lisp code at all? don't think so
0:20:40
dlowe
there might be, but it wouldn't be portable across implementations
0:20:41
Bike
you could wrap the repl with a muffler, i guess, but i don't think slime has that as an option
0:21:14
Bike
and it probably wouldn't effect compilation stuff so much
0:23:10
amazoniantoad
Okay. Just like, most of the warnings then?
0:23:22
amazoniantoad
I'm getting a very specific (and annoying) error
0:23:36
amazoniantoad
It is messing up my ability to read stuff because it kinda takes over
0:24:46
amazoniantoad
WARNING: unrecognized declaration (IGNORE ARG1 ARG2)
0:27:06
amazoniantoad
Sorry, not error. but a warning
0:27:21
no-defun-allowed
Where did you put that declaration?
0:28:09
amazoniantoad
inside of a function? I don't understand what you mean by where
0:28:11
amazoniantoad
Also nice username
0:28:11
Bike
it should give you a place the error is coming from
0:28:23
amazoniantoad
Oh, well I know where the errors are coming from.
0:28:36
Bike
did you shadow the IGNORE symbol, or something?
0:28:43
amazoniantoad
I am new to lisp. This is my partners code in an assignment. I'm just trying to suppress this warning
0:29:23
Bike
usually you fix the problem rather than suppress the warning
0:29:32
Bike
it looks like a simple one
0:29:47
Bike
if you paste some of the code, we can probably identify it for you, if you can't
0:29:58
amazoniantoad
I don't think he would like me sharing code. I'm sorry.
0:30:00
amazoniantoad
Thanks anyways
0:30:20
Bike
we're not going to steal his broken code :) maybe you should get him to fix it, then
0:30:44
amazoniantoad
He's done so much. I don't want to bug him, lol.
0:30:55
amazoniantoad
But maybe I should
0:32:26
Bike
well, i'm going to guess here, but wherever the (ignore arg1 arg2) line is, try replacing that with (cl:ignore arg1 arg2)
0:32:42
amazoniantoad
Thanks. I'll try that
5:22:34
beach
Good morning everyone!
8:10:30
aeth
Shinmera: Any chance of adding a NaN to float-features like you have infinities? There are many NaNs, of course, but I think any NaN would do when reading in a NaN from a file (or rather, a string representing the concept of "NaN"). It's just bits-single-float or bits-double-float with the right (wrong?) bits, I guess.
8:10:51
aeth
They also apparently have to be function calls, not constants, based on a conversation here a while back, maybe 4 years ago.
8:12:10
Shinmera
I suppose that's reasonable enough.
8:12:22
Shinmera
I won't implement it myself, but I'd be open to a PR.
8:13:14
aeth
e.g. (float-features:bits-single-float #x-4000)
8:13:24
aeth
I'm not sure I'd want to PR one line
8:13:55
Shinmera
There's documentation, testing, and more involved.
8:14:05
Shinmera
So definitely not just one line.
9:19:12
Lord_of_Life_
** NICK Lord_of_Life
Friday, 27th of March 2020, 11:00:12 UTC