Search
Friday, 24th of May 2019, 23:27:17 UTC
1:10:52
aeth
On the earlier topic of COERCE-TO-BOOLEAN, here's my latest attempt. It's too long to fit on an IRC line. https://gitlab.com/mbabich/cl-brainfuck/blob/5db780f08e6c0e686c1d8fe2f5ea78acf0d94163/brainfuck-examples.lisp#L64-105
1:11:37
aeth
pjb: and slight correction with earlier. It has to be ~S not ~A or else "NIL" also passes
2:39:08
hectorhonn
morning everyone!
2:50:13
hectorhonn
how do i get the return value of the primary method in :around ?
2:59:27
no-defun-allowed
(call-next-method)?
3:25:05
pjb
hectorhonn: don't use :before :after :around Instead, write a primary method, and use (when (next-method-p) (call-next-method))
3:25:30
pjb
hectorhonn: also, mind using method combinations.
3:28:38
hectorhonn
hmm.. ok, let me think about it
5:02:40
aeth
oh, instead of using ~s in format you can use format's conditionals to tell if it's true or false
5:03:03
aeth
then you could e.g. make length 0 format string false and length 1 true
5:17:31
aeth
So I think this is the best FORMAT-based version: (= 1 (length (format nil "~:[~; ~]" x)))
5:22:50
aeth
clothespin: everyone's always here, but they might take a while to respond
5:22:53
clothespin
isn't it morning in europe?
5:24:11
clothespin
i'm trying to find out how people think exceptions and signals should work in a lisp implementation before i go "fix" something
5:26:08
aeth
clothespin: it's not morning in Europe until beach says "good morning"
5:26:26
clothespin
basically in foreign code and also how the implementation works on the os
5:27:17
clothespin
i discovered c++ exceptions in foreign code work fine in sbcl on mac but are masked out by an overzealous handler on windows
5:28:14
clothespin
there's literally this comment which i thought was somewhat humorous:
5:28:37
clothespin
FIXME: HANDLE-WIN32-EXCEPTION should be allowed to decline
5:40:24
clothespin
maybe i should come up with an informative email to sbcl-devel
6:02:04
LdBeth
Good afternoon everyone
6:03:06
beach
Good morning everyone!
6:07:13
no-defun-allowed
now it is morning in europe
8:04:23
phoe
Yes, it is morning in Europe
10:55:51
makomo
flip214: i opened a new MR for alexandria. i saw the discussion on issue 8 -- i could take up that offer of yours if you want :-)
Saturday, 25th of May 2019, 11:27:17 UTC