jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
texno has quit [Ping timeout: 256 seconds]
texno has joined #lisp
curtosis has joined #lisp
_whitelogger has joined #lisp
kevingal has quit [Remote host closed the connection]
rgherdt has quit [Ping timeout: 260 seconds]
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
pillton has joined #lisp
yoseph has joined #lisp
anticrisis has quit [Read error: Connection reset by peer]
anticrisis has joined #lisp
Sheilong has quit [Quit: Connection closed for inactivity]
DHARMAKAYA has joined #lisp
<DHARMAKAYA> Can any here explain why this would not be the first iteration of the y combinator in lambda calculus? :" λf. (λf. (λx. f (x x))(λx. f (x x))) "
<DHARMAKAYA> Does the y combinator require an input to reach the first output?
<DHARMAKAYA> I had thought it was like the omega combinator, in that it doesn't require an input to ouptut
<DHARMAKAYA> (An external additional input)
<moon-child> DHARMAKAYA: you immediately shadow the outermost ‘f’ without ever using it, so what's the point of binding it?
asarch has joined #lisp
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
<DHARMAKAYA> Is this the first iteration output then?: f(f (x x))(λx. f (x x)))
<DHARMAKAYA> And the next is?: f(f(f (x x))(λx. f (x x))))
contrapunctus has joined #lisp
gitgood has quit [Ping timeout: 265 seconds]
<DHARMAKAYA> Must be something like that.
<moon-child> you mean beta reducing the body? Something like this \f.(f((\x.f(xx))(\x.f(xx))))
<DHARMAKAYA> Right, beta reduction first iteration
<moon-child> iteration?
<DHARMAKAYA> The (λx. f (x x) on the right is input as the var x on the left (λx. f (x x), correct?
<moon-child> yes
<DHARMAKAYA> Alright, so similar to the omega combinator that it basically outputs itself, but has an extra embedded function level
xsperry has joined #lisp
<DHARMAKAYA> So every iteration it is nesting the y combinator within the y combinator, like a fibonacci function or a factorial, etcetera
<DHARMAKAYA> Thanks.
<DHARMAKAYA> I guess the first lambda f is a little confusing
<DHARMAKAYA> Is the "f" inside the function essentially the same as the λf on the left side, although a nested edition?
warweasle has quit [Quit: rcirc on GNU Emacs 26.1]
<asarch> Any JSON to XML converter?
<DHARMAKAYA> I guess for the yc in lambda calculus to be fractal, the λf has to be the same thing as the f inside the function basically
karlosz has joined #lisp
<DHARMAKAYA> And by "fixed point combinator", that basically means a function like this: F(x) = x ?
<moon-child> asarch: with apologies, http://harmful.cat-v.org/software/xml/s-exp_vs_XML
<moon-child> DHARMAKAYA: given some function f, the fixed point of f as applied to some argument x is the repeated application of f until the result is constant
yoseph has quit [Ping timeout: 246 seconds]
<asarch> Oh :-(
<asarch> Any good tool to parse JSON then?
<DHARMAKAYA> Until the result is the input or until it is simply a constant result?
<moon-child> until it is constant. So for instance, the fixed point of sqrt as applied to 2 (as applied to any real, really) is 1
<moon-child> because sqrt(sqrt(sqrt(...sqrt(2)))) = 1
curtosis is now known as curtosis[away]
<DHARMAKAYA> Ah. Interesting
<DHARMAKAYA> Thanks!
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<DHARMAKAYA> So, to clarify, does the y combinator in lambda calculus require any external input to evaluate?
<DHARMAKAYA> Or can it simply be iterated without any external input?
<moon-child> there is no such thing as evaluation in lambda calculus
<moon-child> (nor 'iteration')
<DHARMAKAYA> Well, what is it called when the omega combinator outputs the omega combinator when it "runs"?
<DHARMAKAYA> Is that an "iteration" or...?
<moon-child> nothing is output
<moon-child> nothing runs
<moon-child> there are simply equivalent forms
<moon-child> so for instance, I can prove that p and (\x.x)p are equivalent. But p isn't a 'reduced' or 'evaluated' version of (\x.x)p
<DHARMAKAYA> When a computer processes it, it is going to do so in sequential passes
karlosz has quit [Quit: karlosz]
<moon-child> there is an algorithm called beta reduction which can reduce the complexity of lambda calculus expressions. Sometimes. Sometimes not. For instance, (\x.xx)(\x.xx)
<DHARMAKAYA> If I wrote a program to output successive nestings of the y combinator lambda calculus through beta reduction, it would do each pass in sequence
<DHARMAKAYA> What is each "iteration" of beta reduction called?
<DHARMAKAYA> A single pass, for instance
<moon-child> I don't know of a name. You might call it _a_ beta reduction, or the result of a beta reduction
<asarch> JSON to list?
<DHARMAKAYA> Ah. Thanks for explaining that maths style functional programming speak
<DHARMAKAYA> So the first full beta reduction pass on the y combinator outputs what? (in lambda calculus notation)
<DHARMAKAYA> Or "expands to" what?
<moon-child> \f.(f((\x.f(xx))(\x.f(xx))))
<DHARMAKAYA> Thanks! I assume \ is a lambda
<moon-child> yeah
<DHARMAKAYA> Ah, was simply necessary to drop that inner lambda on what I posted at first
<DHARMAKAYA> Thanks for confirming that was generally correct!
yoseph has joined #lisp
yoseph has quit [Remote host closed the connection]
<DHARMAKAYA> For any that would like a pretty edition: λf.( f (λx. f (x x))(λx. f (x x)))
<DHARMAKAYA> And that is one for the long term math and programming notes archive. Thanks again!
charles` has quit [Ping timeout: 240 seconds]
mrchampion has quit [Ping timeout: 246 seconds]
mrchampion has joined #lisp
_jrjsmrtn has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 246 seconds]
<DHARMAKAYA> I don't wear t-shirts, although thought of a great t-shirt idea tonight: "Does he even Mandel, bro(t)?"
semz has quit [Ping timeout: 264 seconds]
<DHARMAKAYA> Of course with the Mandelbrot on the shirt
<DHARMAKAYA> Or maybe that pic of benoit looking straight-on
aindilis has joined #lisp
rickygee_ has joined #lisp
pankajsg has joined #lisp
rickygee_ has quit [Ping timeout: 245 seconds]
semz has joined #lisp
semz has joined #lisp
mindCrime_ has quit [Ping timeout: 256 seconds]
Stanley00 has joined #lisp
DHARMAKAYA has quit [Quit: Turning off a portion of this simulation.]
curtosis[away] has joined #lisp
Oladon has joined #lisp
<Josh_2> asarch: I use Jonathan
<asarch> Thank you!
<asarch> Thank you very much! :-)
quazimodo has quit [Remote host closed the connection]
kaiwulf has quit [Ping timeout: 245 seconds]
Josh_2 has quit [Ping timeout: 260 seconds]
quazimodo has joined #lisp
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
igemnace has joined #lisp
<markasoftware> what are the *features* entries usually used for operating system detection
<markasoftware> nevermind, i'll just use trivial-features
<beach> Good morning everyone!
Alfr has quit [Killed (cherryh.freenode.net (Nickname regained by services))]
Alfr has joined #lisp
igemnace has quit [Remote host closed the connection]
_whitelogger has joined #lisp
<fiddlerwoaroof> asarch: I use yason
<fiddlerwoaroof> It's not perfect, but I like the API it presents
<asarch> Thank you!
<asarch> Thank you very much! :-)
karlosz has joined #lisp
Oladon has quit [Quit: Leaving.]
charles` has joined #lisp
_whitelogger has joined #lisp
charles` has quit [Ping timeout: 264 seconds]
karlosz has joined #lisp
heisig has joined #lisp
akoana has quit [Quit: leaving]
elusive has quit [Quit: Leaving]
bilegeek_ has joined #lisp
pankajsg has quit [Ping timeout: 246 seconds]
bilegeek has quit [Ping timeout: 264 seconds]
pankajsg has joined #lisp
karlosz has quit [Ping timeout: 245 seconds]
orivej has joined #lisp
narimiran has joined #lisp
pankajsg has quit [Ping timeout: 256 seconds]
pankajsg has joined #lisp
kam1 has joined #lisp
kam1 has quit [Read error: Connection reset by peer]
madage has quit [Ping timeout: 268 seconds]
gaqwas has joined #lisp
toorevitimirp has joined #lisp
madage has joined #lisp
DHARMAKAYA has joined #lisp
galex-713 has quit [Ping timeout: 265 seconds]
bilegeek has joined #lisp
skapata has quit [Remote host closed the connection]
bilegeek_ has quit [Ping timeout: 264 seconds]
galex-713 has joined #lisp
bilegeek has quit [Quit: Leaving]
Lord_of_Life has joined #lisp
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life has joined #lisp
marusich has quit [Ping timeout: 256 seconds]
contrapunctus has left #lisp ["Disconnected: closed"]
aartaka has joined #lisp
pillton has quit [Quit: ERC (IRC client for Emacs 27.1)]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Error from remote client"]
<flip214> _death: :( but thanks
kam1 has joined #lisp
DHARMAKAYA has quit [Quit: Turning off a portion of this simulation.]
shka_ has joined #lisp
kam1 has quit [Ping timeout: 260 seconds]
Klopsch has joined #lisp
hiroaki has quit [Ping timeout: 272 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
heisig has quit [Read error: Connection reset by peer]
marusich has joined #lisp
luni has joined #lisp
surabax has joined #lisp
hiroaki has joined #lisp
Lycurgus has joined #lisp
Demosthe1ex has joined #lisp
aartaka_d has joined #lisp
Demosthenex has quit [Ping timeout: 256 seconds]
aartaka has quit [Ping timeout: 256 seconds]
rgherdt has joined #lisp
Stanley|00 has joined #lisp
Stanley00 has quit [Read error: Connection reset by peer]
Stanley00 has joined #lisp
frost-lab has joined #lisp
Stanley|00 has quit [Ping timeout: 264 seconds]
flazh has quit [Read error: Connection reset by peer]
flazh has joined #lisp
hendursa1 has joined #lisp
Lycurgus has quit [Quit: Exeunt]
hendursaga has quit [Ping timeout: 268 seconds]
lonjil2 is now known as lonjil
andrei-n has joined #lisp
hjudt has joined #lisp
asarch has quit [Quit: Leaving]
aindilis has quit [Remote host closed the connection]
aindilis` has joined #lisp
ficl has joined #lisp
marusich has quit [Ping timeout: 246 seconds]
karlosz has joined #lisp
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
pve has joined #lisp
anticrisis has quit [Read error: Connection reset by peer]
<flip214> can someone offer l10n or i18n (never know which - translating text strings) hints for CL-WHO? Is there some library that uses a _ macro and GNU message catalog input files to build a translation table?
<flip214> looks like cl-i18n is what I want/need
karlosz has quit [Quit: karlosz]
mrchampion has quit [Ping timeout: 260 seconds]
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 256 seconds]
jonatack has joined #lisp
gitgood has joined #lisp
gitgood has quit [Remote host closed the connection]
pranavats has quit [Ping timeout: 264 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
mrchampion has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
kevingal has joined #lisp
sz0 has joined #lisp
vegansbane6963 has quit [Quit: The Lounge - https://thelounge.chat]
gaqwas has quit [Remote host closed the connection]
Stanley00 has quit []
vegansbane6963 has joined #lisp
cchristiansen has quit [Remote host closed the connection]
wxie has joined #lisp
zaquest has quit [Quit: Leaving]
zaquest has joined #lisp
dhil has joined #lisp
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 256 seconds]
yottabyte has quit [Quit: Connection closed for inactivity]
yoseph has joined #lisp
random-nick has joined #lisp
wxie has quit [Ping timeout: 246 seconds]
kslt1 has joined #lisp
<scymtym> _death: McCLIM has hyperclim.el for such lookups. i don't know if replicating the symbol database in SLIME would make sense. in fact, i have been working towards reducing the multiple lists of all CLIM symbols to a single ground truth
gaqwas has joined #lisp
gaqwas has joined #lisp
schweers has joined #lisp
kslt1 has quit [Quit: leaving]
jonatack has quit [Ping timeout: 264 seconds]
villanella has joined #lisp
jonatack has joined #lisp
cosimone has joined #lisp
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #lisp
ldbeth has joined #lisp
gzj has joined #lisp
<ldbeth> Can I take that most update to date common lisps have included the same functionalities as XP?
bjorkintosh has quit [Remote host closed the connection]
bjorkintosh has joined #lisp
luni has quit [Quit: Connection closed]
scymtym has quit [Remote host closed the connection]
frost-lab has quit [Quit: Connection closed]
<Xach> ldbeth: what is XP?
villanella has quit [Ping timeout: 258 seconds]
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
<edgar-rft> Xeroderma Pigmentosum
<phoe> XP, the pretty printing system?
<phoe> AFAIK it eventually became a part of ANSI CL, so it must be included by all conforming implementations
narimiran has quit [Ping timeout: 260 seconds]
<ldbeth> phoe: thank you
<ldbeth> I'm playing with a very old software (1992), trying to figure out how to load the system
<phoe> that's pre-ANSI, might need some porting in general
skapata has joined #lisp
<ldbeth> Guess I have to make a decision between reusing MK:DEFSYSTEM or adapt ASDF:DEFSYSTEM
nkatte has joined #lisp
kslt1 has joined #lisp
long4mud has quit [Quit: WeeChat 3.0.1]
ldbeth has quit [Remote host closed the connection]
ldbeth has joined #lisp
kslt1 has quit [Quit: leaving]
kslt1 has joined #lisp
villanella has joined #lisp
scymtym has joined #lisp
kslt1 has quit [Client Quit]
pranavats has joined #lisp
jonatack has quit [Quit: jonatack]
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
Sheilong has joined #lisp
varjag has joined #lisp
ldbeth has quit [Ping timeout: 246 seconds]
ldbeth has joined #lisp
<flip214> can cl-i18n also generate MO or PO files, so that I can tell people to use standard tools for translating?
yoseph has quit [Remote host closed the connection]
jonatack has joined #lisp
ldbeth has quit [Ping timeout: 256 seconds]
sabrac has joined #lisp
warweasle has joined #lisp
nkatte has quit [Ping timeout: 264 seconds]
<sabrac> flip214: You available to review some functions?
Major_Biscuit has joined #lisp
Bike has joined #lisp
ldbeth has joined #lisp
<flip214> sabrac: not right now, please shoot me an email.
nkatte has joined #lisp
rogersm has joined #lisp
Demosthe1ex is now known as Demosthenex
ldbeth has quit [Ping timeout: 260 seconds]
ldbeth has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gitgood has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
bitmapper has joined #lisp
luni has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gzj has quit [Read error: Connection reset by peer]
<ldbeth> Is it possible to have DECLARE ignore unknown declarations?
<Bike> yes. do (declaim (declaration whatever))
<Bike> clhs declaration
<phoe> (proclaim '(declaration of war)) (defun make-war () (declare (war on rust programmers)))
kaiwulf has joined #lisp
<ldbeth> thank you Bike phoe
<phoe> but in serious uses, use a toplevel DECLAIM as Bike suggested
<ldbeth> It's because the old source file uses some delarations for interface document generator
<ldbeth> I think I could use proclaim to make this take effect gloabally
<Bike> declaim and proclaim are both global
<semz> I've been wondering for a bit: Does PROCLAIM have an edge over DECLAIM outside of implementing some kind of interpreter on top of CL?
<phoe> PROCLAIM is not eval-when'd, that's all
<semz> I never quite understood why it exists
<Bike> proclaim is good if you're doing something weird where you generate declarations at runtime, i guess
<Bike> it's not usually very useful
<phoe> (other than as a building block for implementing DECLAIM)
<ldbeth> for legacy softwares mostly
<ldbeth> Some of them build their own building system/document generator/module systems using macros
texno has quit [Quit: leaving]
Cthulhux has quit [Changing host]
Cthulhux has joined #lisp
ldbeth has quit [Quit: ERC (IRC client for Emacs 27.1)]
Josh_2 has joined #lisp
<Josh_2> Good afternoon
caret has joined #lisp
<TMA> i guess that proclaim is there for the same reason as progv
yangby has joined #lisp
yangby has quit [Client Quit]
ukari has quit [Ping timeout: 245 seconds]
pankajsg has quit [Ping timeout: 260 seconds]
<Bike> yeah, same kind of deal.
jonatack has quit [Read error: Connection reset by peer]
jonatack has joined #lisp
<_death> scymtym: oh, cool.. did know about hyperclim
ukari has joined #lisp
pankajsg has joined #lisp
<luni> Hi all... i was trying to load clisp from slime/swank under Emacs and i get this: Process inferior-lisp floating point exception (core dumped) ... anyone knows a possible solution? Thanks in advance
<jdz> luni: Do you have this same problem when running clisp directly from shell?
<luni> no, from the shell is working well .. i used quicklisp to install quicklisp-slime-helper and all is ok
<jdz> luni: Also if you don't have any specific reasons to use clisp you may try another implementation.
<luni> yes... there is a specific game that was made using an old version of clisp
<luni> but i'm using the latest anyway
<jdz> The "latest" is a moot point when talking about clisp.
<luni> yes this -> 2.49 (2010-07-07)
<luni> anyway there is something strange.. i remember i used clisp end emacs not many years ago without troubles
<luni> but now after loading the swank-repl appear that error
<jdz> My guess would be some foreign library interface has changed.
<jdz> So I'd suggest compiling clisp yourself.
<jdz> Either 2.49 or the latest version from source repository.
aindilis` has quit [Ping timeout: 260 seconds]
<luni> i have not compiled clisp from sources. i'm trying the latest version from the repository using apt-cyg :/
<luni> anyway why do you think that matter?
ggoes has quit [Remote host closed the connection]
<jdz> My *guess* is that an incompatible version of a shared library is being used.
ggoes has joined #lisp
<luni> ok... i will try after some other trails to compile from sources and see what happens
<luni> *trials
<jdz> Or you could try to debug the core file and see what exactly the problem is.
<luni> how to do that?
<jdz> Using gdb.
<luni> ah, ok
<luni> thank you
<jdz> No problem, I hope you get it sorted.
caret_ has joined #lisp
caret has quit [Disconnected by services]
caret_ is now known as caret
narimiran has joined #lisp
Lycurgus has joined #lisp
kslt1 has joined #lisp
thatpythonboy has joined #lisp
aggin has joined #lisp
andrei-n has quit [Ping timeout: 256 seconds]
luni has quit [Quit: Connection closed]
kslt1 has quit [Quit: leaving]
tiwEllien has quit [Ping timeout: 264 seconds]
tiwEllien has joined #lisp
aggin has quit [Quit: WeeChat 3.0.1]
stux|RC has quit [Quit: Aloha!]
kslt1 has joined #lisp
IPmonger has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
IPmonger has joined #lisp
ljavorsk has quit [Ping timeout: 265 seconds]
stux|RC has joined #lisp
Lycurgus has quit [Quit: Exeunt]
toorevitimirp has quit [Remote host closed the connection]
andrei-n has joined #lisp
Inline has joined #lisp
tinhatcat has joined #lisp
tinhatcat has quit [Client Quit]
epony has quit [Remote host closed the connection]
APic has quit [Ping timeout: 265 seconds]
Inline has quit [Quit: Leaving]
Tordek has quit [Ping timeout: 245 seconds]
Alfr has quit [Quit: Leaving]
Tordek has joined #lisp
cosimone has quit [Remote host closed the connection]
Inline has joined #lisp
mindCrime_ has joined #lisp
thatpythonboy has quit [Ping timeout: 260 seconds]
Alfr has joined #lisp
v0|d has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
Alfr has quit [Client Quit]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
v0|d has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 26.3)]
Alfr has joined #lisp
hiroaki has quit [Ping timeout: 264 seconds]
APic has joined #lisp
Alfr has quit [Quit: Leaving]
epony has joined #lisp
Alfr has joined #lisp
APic has quit [Client Quit]
hiroaki has joined #lisp
APic has joined #lisp
choegusung has joined #lisp
choegusung has quit [Client Quit]
voidlily has quit [Ping timeout: 264 seconds]
jonatack has quit [Ping timeout: 246 seconds]
voidlily has joined #lisp
Inline has quit [Quit: Leaving]
varjag has joined #lisp
karlosz has joined #lisp
Tordek has quit [Ping timeout: 264 seconds]
jonatack has joined #lisp
harlchen[m]1 has joined #lisp
rgherdt_ has joined #lisp
alanz has quit [Read error: Connection reset by peer]
hiroaki has quit [Ping timeout: 265 seconds]
alanz has joined #lisp
alanz has joined #lisp
alanz has quit [Changing host]
ey[m]1 has quit [Ping timeout: 265 seconds]
infra_red[m] has quit [Ping timeout: 265 seconds]
jdz has quit [Ping timeout: 265 seconds]
alanz has quit [Max SendQ exceeded]
harlchen[m] has quit [Ping timeout: 265 seconds]
alanz has joined #lisp
rgherdt has quit [Remote host closed the connection]
infra_red[m] has joined #lisp
alanz has joined #lisp
alanz has quit [Changing host]
infra_red[m] has joined #lisp
infra_red[m] has quit [Changing host]
jdz has joined #lisp
aartaka_d has quit [Ping timeout: 246 seconds]
ey[m]1 has joined #lisp
Tordek has joined #lisp
v0|d has quit [Remote host closed the connection]
hiroaki has joined #lisp
charles` has joined #lisp
<Bike> anyone around who can help me debug a complex format string? I have (format nil "~:{~a:~%~@< ~@;~:@{~?~%~}~:>~}" '(("f" ("bye ~2,'0d" (4)) ("h" ())) ("j" ("qud ~a" (list)))))
<Bike> This prints "f:\n bye 04\n h\n j:\n qud LIST". The problem is that the "j:" has spaces before it that I don't want. It looks like the per-line prefix is still in effect, but that doesn't make sense to me.
<Bike> do per-line prefixes not run out after a logical block, or what am i missing here
<Bike> (format nil "~:{~a:~%~@< ~@;~@{~a~%~}~:>~}" '(("f" 'a 'b) ("j" 'c))) is a little simpler but has the same issue.
cage_ has joined #lisp
<scymtym> one ugly solution would be (format nil "~{~{~a:~%~@< ~@;~@{~{~?~}~^~%~}~:>~}~^~%~}" '(("f" ("bye ~2,'0d" (4)) ("h" ())) ("j" ("qud ~a" (list))))) to move the hard newlines out of the logical blocks
Inline has joined #lisp
Major_Biscuit has quit [Ping timeout: 260 seconds]
warweasle has quit [Quit: rcirc on GNU Emacs 26.1]
<Bike> but why is it happening at all?
<Bike> if i replace ~:{ with ~:{~& it adds an extra break but the indentation is correct. i guess that's probably good enough for my purposes
<scymtym> i think the reason is that ~% within a logical block causes the per-line prefix to be printed, even if no further output is produced within that block (and don't ask me whether that is conforming behavior or not)
<Bike> i tried it on two different implementations, though i suppose they probably use the same pprinter
<Bike> well, thanks
<scymtym> sure
rumbler31 has joined #lisp
<jmercouris> a way to do a mapcar ONLY if not null instead of deleting nils after?
<jmercouris> so (mapcar (format "~a" (list 0 1 2 nil)))
<jmercouris> instead of giving me a list of strings with a nil at the end
<jmercouris> just give me ("0" "1" "2")
cosimone has joined #lisp
<jmercouris> I could use a lambda of course...
<Bike> (mapcan (lambda (x) (when x (list (format nil "~a" x)))))
<Bike> er, plus the list
dilated_dinosaur has quit [Ping timeout: 260 seconds]
<jmercouris> aha, i see, thanks
<Bike> or just (loop for x in list when x do ...)
<Bike> er
<Bike> when x collect ...
<jmercouris> I don't think th eloop example woorks
<jmercouris> as written
<Bike> bugs all over the place today
<jmercouris> OK, you've already fixed it 11
dilated_dinosaur has joined #lisp
alanz_ has joined #lisp
<adlai> Bike: did you figure out the format pprinting issue?
<Bike> i figured out a workaround that gives me something good enough
Tordek has quit [Ping timeout: 260 seconds]
sauvin has quit [Ping timeout: 276 seconds]
<adlai> fiddlerwoaroof: "separable from, or merely link (or bind by name) to the interfaces of," is usually the problematic line
<adlai> slap an LLGPL prefix on the Apache license and you might get much more precise complaints, if ever
scymtym has quit [Ping timeout: 260 seconds]
<jmercouris> or don't: https://www.cliki.net/LLGPL
<jmercouris> disclaimer; I am not a lawyer
<jmercouris> this is not legal advice
Inline has quit [*.net *.split]
hiroaki has quit [*.net *.split]
infra_red[m] has quit [*.net *.split]
alanz has quit [*.net *.split]
nkatte has quit [*.net *.split]
theruran has quit [*.net *.split]
alanz_ is now known as alanz
hiroaki has joined #lisp
infra_red[m] has joined #lisp
theruran_ has joined #lisp
theruran_ has joined #lisp
theruran_ has quit [Changing host]
Inline has joined #lisp
notzmv has quit [Ping timeout: 246 seconds]
ey[m]1 has quit [Ping timeout: 244 seconds]
sepanko_ has quit [Ping timeout: 244 seconds]
katco has quit [Ping timeout: 244 seconds]
etimmons has quit [Ping timeout: 244 seconds]
MrtnDk[m] has quit [Ping timeout: 241 seconds]
dieggsy has quit [Ping timeout: 241 seconds]
tweet[m] has quit [Ping timeout: 268 seconds]
Theora[m] has quit [Ping timeout: 268 seconds]
equwal has quit [Ping timeout: 249 seconds]
Gnuxie[m] has quit [Ping timeout: 249 seconds]
kreyren has quit [Ping timeout: 249 seconds]
cloudy[m] has quit [Ping timeout: 247 seconds]
arichiardi[m] has quit [Ping timeout: 247 seconds]
ms[m] has quit [Ping timeout: 247 seconds]
arcontethegreat[ has quit [Ping timeout: 247 seconds]
harlchen[m]1 has quit [Ping timeout: 272 seconds]
mm[m] has quit [Ping timeout: 268 seconds]
quanta[m] has quit [Ping timeout: 268 seconds]
even4void[m] has quit [Ping timeout: 268 seconds]
sunwukong has quit [Ping timeout: 240 seconds]
loke[m] has quit [Ping timeout: 244 seconds]
susam has quit [Ping timeout: 258 seconds]
dmiles[m] has quit [Ping timeout: 258 seconds]
ThaEwat has quit [Ping timeout: 258 seconds]
infra_red[m] has quit [Ping timeout: 265 seconds]
amb007 has quit [Ping timeout: 246 seconds]
Tordek has joined #lisp
<adlai> don't put the ANAL back in "IANAL"
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
jonatack_ has joined #lisp
jonatack_ has quit [Read error: Connection reset by peer]
jonatack_ has joined #lisp
amb007 has joined #lisp
jonatack has quit [Ping timeout: 260 seconds]
scymtym has joined #lisp
andrei-n has quit [Quit: Leaving]
galex-713 has quit [Ping timeout: 272 seconds]
cosimone has quit [Remote host closed the connection]
galex-713 has joined #lisp
supercoven has joined #lisp
<adlai> my understanding of the role of a software license is that first and foremost it is a text for humans, rather than a compiler
<adlai> so if the text you want humans giving their compilers is not dependent on zillions of different definitions, you don't need much text for the humans either.
infra_red[m] has joined #lisp
cosimone has joined #lisp
<adlai> one elementary test for a software license is whether it is versioned; e.g., the copy of the Apache license that I happened to have nearby, ends with "Licensed under the Apache License, Version 2.0 (the "License");", which is already a bad sign
<adlai> iirc the LLGPL was written for the LGPL two-point-something, and the original GPL is now beyond three, while the LGPL probably just got s/2/3/ed
<adlai> if these things were text for compilers AND humans, you could ask prolog whether there's a conflict. good luck with that.
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
kslt1 has quit [Quit: Lost terminal]
rixard has quit [Read error: Connection reset by peer]
aartaka has joined #lisp
rixard has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
arcontethegreat[ has joined #lisp
ms[m] has joined #lisp
arichiardi[m] has joined #lisp
etimmons has joined #lisp
loke[m] has joined #lisp
kreyren has joined #lisp
katco has joined #lisp
sunwukong has joined #lisp
dmiles[m] has joined #lisp
dieggsy has joined #lisp
tweet[m] has joined #lisp
quanta[m] has joined #lisp
ThaEwat has joined #lisp
susam has joined #lisp
Gnuxie[m] has joined #lisp
even4void[m] has joined #lisp
Theora[m] has joined #lisp
ey[m] has joined #lisp
MrtnDk[m] has joined #lisp
harlchen[m] has joined #lisp
equwal has joined #lisp
cloudy[m] has joined #lisp
sepanko_ has joined #lisp
mm[m] has joined #lisp
cosimone has quit [Remote host closed the connection]
luni has joined #lisp
cosimone has joined #lisp
cosimone has quit [Remote host closed the connection]
lottaquestions_ has quit [Read error: Connection reset by peer]
andreyorst has quit [Ping timeout: 246 seconds]
wooden has quit [Read error: Connection reset by peer]
me_at_drewc_ca has joined #lisp
villanella1 has joined #lisp
zigpaw107 has joined #lisp
azrazalea_ has joined #lisp
lottaquestions has joined #lisp
docl_ has joined #lisp
pok_ has joined #lisp
add^__ has joined #lisp
nitrix_ has joined #lisp
wooden has joined #lisp
wooden has quit [Changing host]
wooden has joined #lisp
kbtr has joined #lisp
stux|RC-- has joined #lisp
villanella has quit [Ping timeout: 256 seconds]
drewc has quit [Ping timeout: 256 seconds]
azrazalea has quit [Ping timeout: 256 seconds]
docl has quit [Ping timeout: 256 seconds]
pok has quit [Ping timeout: 256 seconds]
add^_ has quit [Ping timeout: 256 seconds]
fiddlerwoaroof has quit [Ping timeout: 256 seconds]
stux|RC-only has quit [Ping timeout: 256 seconds]
tessier has quit [Ping timeout: 256 seconds]
kbtr_ has quit [Ping timeout: 256 seconds]
White_Flame has quit [Ping timeout: 256 seconds]
nitrix has quit [Ping timeout: 256 seconds]
zigpaw10 has quit [Ping timeout: 256 seconds]
pok_ is now known as pok
tessier_ has joined #lisp
fiddlerwoaroof_ has joined #lisp
dilated_dinosaur has quit [Ping timeout: 246 seconds]
warweasle has joined #lisp
White_Flame has joined #lisp
DHARMAKAYA has joined #lisp
gigetoo has quit [Ping timeout: 246 seconds]
andreyorst has joined #lisp
cosimone has joined #lisp
gigetoo has joined #lisp
amerigo has joined #lisp
jonatack_ has quit [Ping timeout: 245 seconds]
nitrix_ is now known as nitrix
cosimone has quit [Remote host closed the connection]
jonatack_ has joined #lisp
taof has joined #lisp
rgherdt_ has quit [Remote host closed the connection]
spacebat2 has quit [Ping timeout: 264 seconds]
spacebat2 has joined #lisp
VincentVega has joined #lisp
joast has quit [Ping timeout: 264 seconds]
rgherdt has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
aartaka_d has joined #lisp
rumbler31 has quit [Remote host closed the connection]
jonatack_ has quit [Ping timeout: 256 seconds]
jonatack_ has joined #lisp
cosimone has joined #lisp
cosimone has quit [Read error: Connection reset by peer]
jprajzne has quit [Quit: Leaving.]
jprajzne has joined #lisp
kevingal has quit [Remote host closed the connection]
rogersm has quit [Quit: Leaving...]
vhost- has quit [Quit: WeeChat 2.8]
waleee-cl has joined #lisp
notzmv has joined #lisp
<adlai> what's the best place for duck-typing a generic function? [current competitors are no-applicable-methods and compute-, although maybe I've missed something]
ljavorsk has joined #lisp
<adlai> I guess an unspecialized defmethod, although that violates the unstated constraint of "without adding a method to the generic function in question"
nkatte has joined #lisp
<adlai> clhs no-next-method
* adlai always forgets at least onething
<adlai> maybe someday i'll stfu and port sheeple to clos, but -- not today
* adlai should probably sharpen what is meant by "duck-typing a generic function"
caret has quit [Quit: Bye Felicia]
ljavorsk has quit [Ping timeout: 264 seconds]
<adlai> since the ideal of duck-typing is that there are no more defmethods, nor defun, and funcallable-instance actually gets standardised
VincentVega has quit [Quit: Connection closed]
adlai has left #lisp ["talk to yourself elsewhere"]
Nilby has joined #lisp
vhost- has joined #lisp
vhost- has quit [Changing host]
vhost- has joined #lisp
abhixec has joined #lisp
<jmercouris> is there a way to force compilation errors to reappear?
<jmercouris> I do slime-reload-system and it doesn't show me all the compilation errors
<Nilby> (asdf:load-system :foo :force t)
Josh_2 has quit [Ping timeout: 265 seconds]
<jmercouris> anyway to do that via slime?
<jmercouris> some sort of slime equivalent?
<jmercouris> I see, "force-load-system"
<jmercouris> the order changes
<jmercouris> no wait, still no warnings...
<jmercouris> I had to restart the REPL and force to get warnings
cosimone has joined #lisp
<Bike> having to restart the repl makes it sound like the warnings were no longer a problem, like if you had (defun foo () *var*) (defvar *var*)
travv0 has quit [Ping timeout: 256 seconds]
travv0 has joined #lisp
marusich has joined #lisp
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 246 seconds]
jbgg has quit [Ping timeout: 256 seconds]
dbotton has joined #lisp
<phantomics> Hey all, quick question: am I correct in thinking that there's no way for CL to tell the difference between a symbol input as ABC and a symbol input at |ABC|? Apart from the presence of lowercase letters in a symbol name, there's no inherent quality that sets a pipe-quoted symbol apart from other symbols, right?
supercoven has quit [Ping timeout: 268 seconds]
<Bike> depending on how the readtable-case is set up there's some different behavior there, but you're right to think that quotation isn't a property that sticks around
<Bike> the symbol name is just a string. there's no notation of quoting or anything. (symbol-name '|123|) => "123"
trubi has joined #lisp
ficl has quit [Ping timeout: 260 seconds]
yitzi has quit [Quit: yitzi]
aartaka_d has quit [Ping timeout: 264 seconds]
aartaka has joined #lisp
jbgg has joined #lisp
<phantomics> Bike: makes sense, thanks
lottaquestions has quit [Remote host closed the connection]
dmc00 has quit [Remote host closed the connection]
Tordek has quit [*.net *.split]
dhil has quit [*.net *.split]
Posterdati has quit [*.net *.split]
albusp has quit [*.net *.split]
gum has quit [*.net *.split]
dddddd has quit [*.net *.split]
TMA has quit [*.net *.split]
penguwin has quit [*.net *.split]
herlocks- has quit [*.net *.split]
himmAllRight has quit [*.net *.split]
MetaYan has quit [*.net *.split]
dhil has joined #lisp
gum has joined #lisp
Tordek has joined #lisp
Posterdati has joined #lisp
dddddd has joined #lisp
himmAllRight has joined #lisp
herlocks- has joined #lisp
albusp has joined #lisp
TMA has joined #lisp
penguwin has joined #lisp
MetaYan has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
narimiran has quit [Ping timeout: 246 seconds]
dbotton has quit [Quit: This computer has gone to sleep]
herlocks- has quit [Ping timeout: 256 seconds]
herlocksholmes has joined #lisp
cage_ has quit [Quit: Leaving]
sabrac has quit [Quit: Konversation terminated!]
pve has quit [Quit: leaving]
nmg has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
nmg has joined #lisp
villanella1 has quit [Quit: villanella1]
Lord_of_Life has quit [Ping timeout: 260 seconds]
dhil has quit [Ping timeout: 256 seconds]
aartaka has quit [Ping timeout: 265 seconds]
dhil has joined #lisp
<Klopsch> Hi. Little question regarding common lisp. I want to do 2 function calls in one path of an if-statement
<Klopsch> I am currently misusing let
<Klopsch> (if T (let () (print "asdf")(print "asdf")))
<Klopsch> Is there a better alternative?
<Bike> progn, or more likely cond
<Bike> (cond (whatever (print ...) (print ...)))
<Bike> or, if there really is just one condition, (when condition (print ...) (print ...))
<Klopsch> Thank you. This sounds great for my current use. Is there a common way for this kind of block / multiple function calls
<Bike> I'm not sure what you're asking, sorry.
<Klopsch> No problem. Thank you for your help
<Klopsch> Now it looks a lot better
warweasle is now known as warweasle_afk
dbotton has joined #lisp
shka_ has quit [Ping timeout: 246 seconds]
Klopsch has quit [Remote host closed the connection]
Klopsch_ has joined #lisp
cosimone has quit [Read error: Connection reset by peer]
Klopsch_ has quit [Client Quit]
cosimone has joined #lisp
Klopsch has joined #lisp
<aeth> Klopsch: the common way is PROGN, as Bike said
<aeth> (progn (print "hi") (print 1) (print 2) (print 3))
<aeth> most forms where you want to do that already have an "implicit progn" (meaning you don't have to do that), but IF is probably the most common place where you need PROGN
sturm__ has joined #lisp
Inline has quit [Ping timeout: 265 seconds]
hendursaga has joined #lisp
hendursa1 has quit [Ping timeout: 268 seconds]
akkad is now known as ober
dbotton has quit [Quit: This computer has gone to sleep]
Oladon has joined #lisp
karlosz has quit [Quit: karlosz]
amerigo has quit [Quit: Connection closed for inactivity]
surabax has quit [Quit: Leaving]
varjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
karlosz has joined #lisp
contrapunctus has joined #lisp
notzmv has quit [Ping timeout: 245 seconds]
dbotton has joined #lisp
gaqwas has quit [Ping timeout: 256 seconds]
dbotton has quit [Client Quit]
kslt1 has joined #lisp
schweers has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
luni has quit [Quit: Connection closed]
notzmv has joined #lisp
rozenglass has joined #lisp
notzmv has quit [Ping timeout: 246 seconds]
_whitelogger has joined #lisp
cosimone has joined #lisp
stux|RC-- has quit [Quit: Aloha!]
_whitelogger has joined #lisp
_whitelogger__ has joined #lisp
_whitelogger__ has joined #lisp
nmg_ has joined #lisp
nmg_ has joined #lisp
slyrus has joined #lisp
slyrus has joined #lisp
_whitelogger_ has joined #lisp
_whitelogger_ has joined #lisp
_whitelogger_ has joined #lisp
nmg has quit [Read error: Connection reset by peer]
nmg has quit [Read error: Connection reset by peer]
nmg has quit [Read error: Connection reset by peer]
drbluefall has joined #lisp
drbluefall has joined #lisp
drbluefall has joined #lisp
rgherdt has quit [Ping timeout: 272 seconds]
rgherdt has quit [Ping timeout: 272 seconds]
rgherdt has quit [Ping timeout: 272 seconds]
cchristiansen has joined #lisp
cchristiansen has joined #lisp
cchristiansen has joined #lisp
Oladon has quit [Quit: Leaving.]
Oladon has quit [Quit: Leaving.]
Oladon has quit [Quit: Leaving.]
cosimone has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
cosimone has joined #lisp
cosimone has joined #lisp
xsperry has quit [Remote host closed the connection]
xsperry has quit [Remote host closed the connection]
xsperry has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone` has joined #lisp
cosimone` has joined #lisp
cosimone` has joined #lisp
pankajsg has quit [Ping timeout: 264 seconds]
pankajsg has quit [Ping timeout: 264 seconds]
pankajsg has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
xsperry has joined #lisp
xsperry has joined #lisp
xsperry has joined #lisp
random-nick has quit [Ping timeout: 245 seconds]
random-nick has quit [Ping timeout: 245 seconds]
random-nick has quit [Ping timeout: 245 seconds]
warweasle_afk has quit [Quit: rcirc on GNU Emacs 26.1]
warweasle_afk has quit [Quit: rcirc on GNU Emacs 26.1]
warweasle_afk has quit [Quit: rcirc on GNU Emacs 26.1]
curtosis has joined #lisp
curtosis has joined #lisp
curtosis has joined #lisp
_jrjsmrtn has quit [Quit: Bye !]
_jrjsmrtn has quit [Quit: Bye !]
_jrjsmrtn has quit [Quit: Bye !]
__jrjsmrtn__ has joined #lisp
__jrjsmrtn__ has joined #lisp
__jrjsmrtn__ has joined #lisp
cosimone` has quit [Remote host closed the connection]
cosimone` has quit [Remote host closed the connection]
cosimone` has quit [Remote host closed the connection]
anticrisis has joined #lisp
anticrisis has joined #lisp
anticrisis has joined #lisp