jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <http://cliki.net/> <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.5.4, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
GoldRin has joined #lisp
GoldRin has quit [Remote host closed the connection]
GoldRin has joined #lisp
__jrjsmrtn__ has joined #lisp
__jrjsmr- has quit [Ping timeout: 272 seconds]
wxie has joined #lisp
EvW1 has joined #lisp
Lycurgus has joined #lisp
t58 has quit [Quit: Night]
pjb has quit [Ping timeout: 252 seconds]
pjb has joined #lisp
dave0 has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
noobineer has quit [Read error: Connection reset by peer]
karayan has quit [Ping timeout: 276 seconds]
wxie has quit [Ping timeout: 276 seconds]
alexanderbarbosa has left #lisp ["ERC (IRC client for Emacs 27.0.50)"]
zaquest has quit [Ping timeout: 272 seconds]
Kevslinger has quit [Quit: Connection closed for inactivity]
EvW1 has quit [Ping timeout: 250 seconds]
Lycurgus has quit [Quit: Exeunt]
noobineer has joined #lisp
karayan has joined #lisp
red-dot has quit [Ping timeout: 245 seconds]
GoldRin has quit [Ping timeout: 248 seconds]
red-dot has joined #lisp
GoldRin has joined #lisp
dtornabene has joined #lisp
Josh_2 has quit [Quit: ERC (IRC client for Emacs 26.2)]
Sabex has joined #lisp
xkapastel has quit [Quit: Connection closed for inactivity]
Kevslinger has joined #lisp
nullman has quit [Ping timeout: 245 seconds]
techquila has quit [Ping timeout: 258 seconds]
techquila has joined #lisp
varjag has joined #lisp
MCP_ has quit [Ping timeout: 248 seconds]
Achylles has quit [Ping timeout: 252 seconds]
MCP_ has joined #lisp
q9929t has joined #lisp
<beach> Good morning everyone!
elderK has joined #lisp
<dtornabene> morning!
<dtornabene> hey, I'll try in here, see if anyone bites: has anyone actually used the guile scripting extension for GDB, or know of publicly available code I could read that does so?
<beach> Since this channel is dedicated to Common Lisp, you may not get any good answers to that question.
<no-defun-allowed> Well, most #lisp readers are familiar with Common Lisp and not so much Guile. Maybe there is a #guile that would have better knowledge?
GoldRin has quit [Ping timeout: 272 seconds]
CloseToZero has joined #lisp
<dtornabene> i tried guile, and gdb sadly no response :(
<dtornabene> I knew it was CL focused, I just figured there might have been enough overlap in users that someone might have seen it, sorry for the noise!
<dtornabene> its just kind of got me spooked (in terms of ease of use) GDB has provided a guile api for five years now .....and theres no code that I can find in the wild. weird!
<vsync> oh hum.... *read-base* and friends; is there a handy thing to bind or set all reading variables?
<no-defun-allowed> To anything in particular?
<remexre> I'm seeing bizarre behavior with trivia; anyone use it here?
Jeanne-Kamikaze has joined #lisp
<no-defun-allowed> Works correctly here.
<remexre> foo is manually created, btw
<remexre> I'm new to CL, so this might be arbitrarily unidiomatic, but
<remexre> I'm using (make-array 0 :adjustable t :element-type 'character :fill-pointer 0) to create it, and (vector-push-extend)-ing into it
<no-defun-allowed> Ooh, yeah, I looked at the macroexpansion and it expects a simple-string.
<remexre> can I do like (coerce simple-string foo) ?
<remexre> I guess I should try it :P
<Bike> (coerce foo 'simple-string)
<no-defun-allowed> Don't see why not, but it's the other way around.
<remexre> ok, thanks!
gravicappa has joined #lisp
Bike has quit [Quit: Lost terminal]
dddddd has quit [Remote host closed the connection]
dave0 has quit [Quit: dave's not here]
alexanderbarbosa has joined #lisp
shka_ has joined #lisp
aoeu256 has quit [Ping timeout: 245 seconds]
<vsync> no-defun-allowed: I guess to whatever their defaults are specified to be... do they all have defaults?
<no-defun-allowed> clhs with-standard-io-syntax
<vsync> nice
<vsync> perhaps I'll make a with-safe-io-syntax that starts with that but sets *read-eval* to nil etc
froggey has quit [Ping timeout: 272 seconds]
froggey has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
shka_ has quit [Ping timeout: 244 seconds]
FreeBirdLjj has joined #lisp
vlatkoB has joined #lisp
GoldRin has joined #lisp
anewuser has joined #lisp
MCP_ has quit [Ping timeout: 245 seconds]
ggole has joined #lisp
_whitelogger has joined #lisp
Arcaelyx has quit [Ping timeout: 245 seconds]
dale has joined #lisp
q9929t has quit [Quit: q9929t]
ga has quit [Quit: leaving]
ga has joined #lisp
GoldRin has quit [Ping timeout: 272 seconds]
JohnMS has joined #lisp
vlatkoB_ has joined #lisp
milanj has joined #lisp
vlatkoB has quit [Ping timeout: 245 seconds]
dgfhdfg has joined #lisp
_whitelogger has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 258 seconds]
techquila has quit [Ping timeout: 245 seconds]
dave0 has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
techquila has joined #lisp
milanj has joined #lisp
frgo has quit [Ping timeout: 245 seconds]
<remexre> Is there a trivia pattern for "lists whose members all meet this pattern"? e.g. (match '("foo" "bar") ((forall (and (satisfies stringp) strs)) strs)) should evaluate to '("foo" "bar")
<remexre> or I guess as a better example of a pattern, (forall (cons keys vals))
dtornabene has quit [Remote host closed the connection]
<LdBeth> remexre: do you want pattern match as well or just predicate
<remexre> pattern match as well, ideally would collect into it
elderK has quit [Quit: Connection closed for inactivity]
<LdBeth> There’s cl-unification but I’m afraid that’s non-trivial
Jeanne-Kamikaze has quit [Quit: Leaving]
<remexre> hm, yeah, I definitely don't need the full generality of that
<remexre> eh, I guess I'll split it into a predicate and a (loop)
<LdBeth> remexre: since it’s a sequence you can just use map or reduce
oldtopman has quit [Ping timeout: 245 seconds]
<remexre> yeah, a mapcar over a lambda-ematch might make more sense than the (loop)
manualcrank has quit [Quit: WeeChat 1.9.1]
karayan has quit [Remote host closed the connection]
karayan has joined #lisp
cosimone has joined #lisp
orivej has quit [Ping timeout: 248 seconds]
karayan has quit [Quit: Quit]
oni-on-ion has joined #lisp
elderK has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
xkapastel has joined #lisp
FreeBirdLjj has quit [Ping timeout: 248 seconds]
Lord_of_Life has quit [Ping timeout: 248 seconds]
vlatkoB_ has quit [Read error: Connection reset by peer]
vlatkoB has joined #lisp
Lord_of_Life has joined #lisp
JohnMS is now known as JohnMS_AWAY
FreeBirdLjj has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
orivej has joined #lisp
zhlyg has joined #lisp
JohnMS_AWAY is now known as JohnMS
nowhere_man has joined #lisp
__jrjsmrtn__ has joined #lisp
McParen has joined #lisp
q9929t has joined #lisp
SaganMan has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
josemanuel has joined #lisp
_whitelogger has joined #lisp
lavaflow has quit [Ping timeout: 268 seconds]
q9929t has quit [Ping timeout: 246 seconds]
lavaflow has joined #lisp
FreeBirdLjj has joined #lisp
JohnMS has left #lisp ["Konversation terminated!"]
nowhere_man has quit [Ping timeout: 272 seconds]
vap1 has joined #lisp
vaporatorius has quit [Ping timeout: 246 seconds]
frgo has joined #lisp
vap1 has quit [Quit: Leaving]
vaporatorius has joined #lisp
vaporatorius has quit [Changing host]
vaporatorius has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
sonologico has joined #lisp
sonologico has quit [Remote host closed the connection]
sonologico has joined #lisp
elderK has quit [Quit: Connection closed for inactivity]
xkapastel has quit [Quit: Connection closed for inactivity]
milanj has joined #lisp
SaganMan has quit [Ping timeout: 258 seconds]
nsrahmad has joined #lisp
cl-arthur has joined #lisp
dddddd has joined #lisp
nowhere_man has joined #lisp
nsrahmad has quit [Ping timeout: 268 seconds]
q9929t has joined #lisp
wxie has joined #lisp
aoeu256 has joined #lisp
Lycurgus has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
Lycurgus has quit [Quit: Exeunt]
milanj has quit [Quit: This computer has gone to sleep]
anewuser has quit [Quit: anewuser]
nowhere_man has quit [Ping timeout: 246 seconds]
ptiyoyip has joined #lisp
dgfhdfg has quit [Read error: Connection reset by peer]
q9929t has quit [Quit: q9929t]
cosimone has quit [Quit: WeeChat 2.4]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 248 seconds]
wxie has quit [Ping timeout: 276 seconds]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
McParen has quit [Ping timeout: 272 seconds]
lavaflow has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 258 seconds]
FreeBirdLjj has joined #lisp
nowhere_man has joined #lisp
orivej has quit [Ping timeout: 245 seconds]
cosimone has joined #lisp
oldtopman has joined #lisp
oldtopman has joined #lisp
oldtopman has quit [Changing host]
igemnace has quit [Ping timeout: 245 seconds]
Bike has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
SaganMan has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 272 seconds]
wxie has joined #lisp
SaganMan has quit [Quit: WeeChat 1.6]
xkapastel has joined #lisp
cosimone has quit [Quit: WeeChat 2.4]
cosimone has joined #lisp
McParen has joined #lisp
igemnace has joined #lisp
srji has quit [Quit: leaving]
Josh_2 has joined #lisp
lucasb has joined #lisp
stepnem has quit [Read error: Connection reset by peer]
t58 has joined #lisp
stepnem has joined #lisp
EvW has joined #lisp
wxie has quit [Ping timeout: 276 seconds]
cosimone has quit [Ping timeout: 252 seconds]
cosimone has joined #lisp
lnostdal has quit [Quit: "Fascism, Nazism, Communism and Socialism are only superficial variations of the same monstrous theme—collectivism." -- Ayn Rand]
cl-arthur has quit [Remote host closed the connection]
kwhalekiller has joined #lisp
EvW2 has joined #lisp
FreeBirdLjj has joined #lisp
<kwhalekiller> hui
<Josh_2> hi
EvW has quit [Ping timeout: 250 seconds]
EvW2 is now known as EvW
<kwhalekiller> How are ya? i'm lookin to lisp. I've got a book... but can't find motivation to do more than format t
<Josh_2> (format t "Well that's a shame~%")
<kwhalekiller> heheh. Yeah. Can you give me some homework, like a small project?
<Josh_2> Well what are your interests?
<kwhalekiller> hmm. I like fireworks, piano and stuff. I see where you're going
<Josh_2> I mean, programming wise
wigust- has joined #lisp
<LdBeth> kwhalekiller: Maybe u are looking for Project Euler? :D
<Josh_2> They are trivial tasks and not particularly interesting, imo anyways
<Josh_2> If you want to really learn, then write something relating to an area you are interested in
wigust has quit [Ping timeout: 245 seconds]
notzmv has quit [Read error: Connection reset by peer]
<kwhalekiller> i'm really looking to be held accountable, in a way
<moldybits> hm, so fireworks can be someone's hobby.
aoeu256 has quit [Read error: Connection reset by peer]
<moldybits> to whom?
<Josh_2> maybe they like to have firework wars, where you shoot small bottle rockets at eachother
<Josh_2> sounds fun to be fair ¯\_(ツ)_/¯
<LdBeth> 打上花火
<kwhalekiller> oh absolutely. I mean i dont have the good ingredients (skylighter is expensive) but i make do
<LdBeth> firework can even be a job
<kwhalekiller> pyrotechnics vs maniacs?
aoeu256 has joined #lisp
libertyprime has quit [Quit: leaving]
<kwhalekiller> actually, you guys have helped. I'll try to make a program with lists for ingredients and ratios that burn certain colors
pnp has joined #lisp
<LdBeth> good to hear that
<kwhalekiller> project euler is secretly just helping some guy do cryptomining in disguise
<kwhalekiller> "hai guys, solve these maths for me pl0x"
<LdBeth> I just find that the CL code I wrote last year attempts to do too much extra fancy work, which looks stupid.
<kwhalekiller> successfully attempts, or?
<LdBeth> successfully, but now it's not what I want
<kwhalekiller> either way that means you're just growing. Same logic applies to all your highschool english essays
<LdBeth> ha, you're right
GoldRin has joined #lisp
<kwhalekiller> k i'm gonna dive in. wml! later crocodile
manualcrank has joined #lisp
Arcaelyx has joined #lisp
<kwhalekiller> there are too many damn functions! My head can't decide whether to implode or explode
pnp has left #lisp [#lisp]
<Josh_2> Do both
EvW has quit [Ping timeout: 245 seconds]
Arcaelyx has quit [Quit: Arcaelyx]
afidegnum has joined #lisp
<afidegnum> hello, i am trying to install slime on archlinux,
<afidegnum> i clone sbcl and run sh install.sh
<afidegnum> and faced this error install.sh: line 15: output/prefix.def: No such file or directory
<kwhalekiller> take a look inside install.sh ?
<Bike> Did you build sbcl first? install.sh doesn't build.
<afidegnum> ok, i have installed sbcl via pacman
<afidegnum> but don't know in which path it's installed
<Bike> try pacman -Ql sbcl | grep bin
<afidegnum> ah, nice thanks,
<Bike> well, it'll be installed into a bunch of paths though
<Bike> pacman -Ql sbcl will give you a list of all the files pacman installed
<afidegnum> /usr/bin/sbcl
<afidegnum> among others
Arcaelyx has joined #lisp
<alexanderbarbosa> afidegnum: "sbcl" shall suffice, most portable way.
sahara3 has joined #lisp
lavaflow has joined #lisp
<sahara3> hello
alexanderbarbosa has quit [Ping timeout: 250 seconds]
<beach> Hello sahara3.
cosimone has quit [Quit: WeeChat 2.4]
<sahara3> beach How are you?
<beach> sahara3: How I am is off topic. :)
<ck_> how is your lisp?
<beach> Mine? I made very good progress in the past few days, thank you.
<sahara3> OkI don't ask any more
<beach> sahara3: I am always simultaneously bored and overworked. Now you know.
<sahara3> ok
<sahara3> well I don't bother with my questions anymore
<sahara3> bye
<beach> Oh, Common Lisp questions are fine.
ga has quit [Quit: leaving]
nowhereman has joined #lisp
<sahara3> ​не раздражает больше
nowhere_man has quit [Ping timeout: 268 seconds]
pfdietz has joined #lisp
CloseToZero has quit [Quit: WeeChat 2.5]
MCP_ has joined #lisp
notzmv has joined #lisp
<moldybits> sahara3: again, #lispcafe is for idle chit chat
<moldybits> and you do know lisp is a computer programming language, right?
<sahara3> ni la mínima idea
<sahara3> I don't know what's #lispcafe
<Josh_2> sahara3: type /j #lispcafe
<sahara3> Josh_2 I can't get in
<Josh_2> ah, do you have to registered for #lispcafe?
<ck_> #lispcafe has mode +r, meaning you have to have a registered nickname to be able to join. That's not difficult -- just /msg nickserv about that
<Josh_2> Funny how #lispcafe requires registering but #lisp doesn't
igemnace has quit [Ping timeout: 272 seconds]
<sahara3> and there's no one who can add me
<ck_> sahara3: you don't need anybody else to 'add you', other than yourself.
Oladon has joined #lisp
<ck_> sahara3: do /msg nickserv help register
slyrus2 has joined #lisp
slyrus__ has joined #lisp
slyrus1 has quit [Ping timeout: 268 seconds]
slyrus_ has quit [Ping timeout: 272 seconds]
pnp has joined #lisp
sahara3 has quit [Ping timeout: 268 seconds]
<beach> If I had realized that sahara3 very likely is not interested in the topic of this channel, I would have been much less polite.
igemnace has joined #lisp
Arcaelyx has quit [Ping timeout: 245 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
slyrus1 has joined #lisp
slyrus_ has joined #lisp
EvW1 has joined #lisp
slyrus__ has quit [Ping timeout: 246 seconds]
slyrus2 has quit [Ping timeout: 246 seconds]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
Achylles has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Read error: Connection reset by peer]
<kwhalekiller> my keyboard hath a lithsp it thtinks
* kwhalekiller proudly basks in sweet knowledge that is the first-ever lisp joke
<Josh_2> ʕ·͡ᴥ·ʔ
shka_ has joined #lisp
_whitelogger has joined #lisp
Oladon has quit [Quit: Leaving.]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
Inline has joined #lisp
Arcaelyx has joined #lisp
<pjb> kwhalekiller: you're confused. You want #speechimpediment
cosimone has joined #lisp
EvW1 has quit [Ping timeout: 250 seconds]
josemanuel has quit [Quit: leaving]
xkapastel has quit [Quit: Connection closed for inactivity]
cl-arthur has joined #lisp
afidegnum has quit [Quit: leaving]
cosimone has quit [Quit: WeeChat 2.4]
<kwhalekiller> pjb, ##thpeechimpediment redirects to ##namethpace :(
Lycurgus has joined #lisp
ryufghj has joined #lisp
ptiyoyip has quit [Ping timeout: 248 seconds]
ggole- has joined #lisp
ggole has quit [Ping timeout: 250 seconds]
milanj has joined #lisp
ggole_ has joined #lisp
ggole- has quit [Ping timeout: 250 seconds]
bars0 has joined #lisp
dale has joined #lisp
bars0 has quit [Client Quit]
bars0 has joined #lisp
shka_ has quit [Ping timeout: 248 seconds]
gravicappa has quit [Ping timeout: 245 seconds]
GoldRin has quit [Ping timeout: 258 seconds]
bars0 has quit [Client Quit]
bars0 has joined #lisp
Frobozz has quit [Quit: quit]
dave0 has quit [Quit: dave's not here]
zigpaw has quit [Remote host closed the connection]
zigpaw has joined #lisp
bugrum has joined #lisp
EvW has joined #lisp
bars0 has quit [Ping timeout: 246 seconds]
pnp has quit [Ping timeout: 260 seconds]
Danishman has joined #lisp
bars0 has joined #lisp
bars0 has quit [Client Quit]
<remexre> is there a good tl;dr for using pretty-printer format directives (e.g. ~_)?
bars0 has joined #lisp
<remexre> I'm vaguely familiar with Wadler's pretty-printer combinators if that helps
slyrus2 has joined #lisp
slyrus__ has joined #lisp
slyrus1 has quit [Ping timeout: 246 seconds]
slyrus_ has quit [Ping timeout: 268 seconds]
<cl-arthur> I usually find http://www.gigamonkeys.com/book/a-few-format-recipes.html helpful when I wonder how to do some piece of formatting.
<remexre> Yeah, I've seen it; it doesn't do pretty-printer format directives though
vlatkoB has quit [Remote host closed the connection]
Lycurgus has quit [Quit: Exeunt]
xkapastel has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 245 seconds]
scottj has joined #lisp
Lord_of_Life_ is now known as Lord_of_Life
varjag has quit [Ping timeout: 272 seconds]
<Bike> clhs 22.2.1.1
<specbot> Dynamic Control of the Arrangement of Output: http://www.lispworks.com/reference/HyperSpec/Body/22_baa.htm
<Bike> i think that's the basics?
parjanya has joined #lisp
Jeanne-Kamikaze has joined #lisp
cosimone has joined #lisp
bars0 has quit [Quit: leaving]
ggole_ has quit [Quit: Leaving]
beluga0 has joined #lisp
akoana has joined #lisp
McParen has left #lisp [#lisp]
hiroaki has joined #lisp
ebrasca has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
ebrasca has quit [Read error: No route to host]
ted_wroclaw has joined #lisp
Aruseus has joined #lisp
Jesin has quit [Quit: Leaving]
Jesin has joined #lisp
varjag has joined #lisp
pnp has joined #lisp
stepnem has quit [Ping timeout: 245 seconds]
stepnem has joined #lisp
varjag has quit [Remote host closed the connection]
liberiga has joined #lisp
<remexre> augh sorry got pulled away from my PC; I read both of those and I still can't figure out how to print my thing:
ted_wroclaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<remexre> I've got an object I wanna print like #<foo :slot1 val1 :slot2 val2>
<remexre> but with possible line breaks instead of spaces before :slotn, and indentation if so
<remexre> while keeping :slotn and valn on the same line
<remexre> right now I've got "#<~<module ~<:name ~W~:> ~<:exports ~W~:> ~<:imports ~W~:> ~<:decls ~W~:>~:>>", but for some reason that prints #<foo>, where foo is the name given
varjagg has joined #lisp
<pjb> (format nil "#<~<module ~<:name ~W~:> ~<:exports ~W~:> ~<:imports ~W~:> ~<:decls ~W~:>~:>>" 'name 'exports 'imports 'decls) #| --> "#<name>" |#
<pjb> yep.
Frobozz has joined #lisp
<Bike> er, so it doesn't even print "module"?
zhlyg has quit [Ping timeout: 268 seconds]
<pjb> CLISP --> "#<module :name NAME :exports EXPORTS :imports IMPORTS :decls DECLS>"
<Bike> no it doesn't. huh.
<pjb> remexre: choose a better CL implementation?
<Bike> clhs ~<
<specbot> Matches: ~</justification, ~</logical-block.
<Bike> clhs ~</logical-block
<remexre> pjb: this is sbcl :P
anewuser has joined #lisp
<Bike> oh, i guess it's because the logical block is supposed to get a list.
<pjb> remexre: my point is that all implementations but clisp print "#<NAME>", so if you want something else, use clisp.
<remexre> I assume that means my string is spec-incompliant in a way clisp supports/works around though, no?
<Bike> seems pretty plausible that clisp is just nonconformant
<pjb> I cannot say, I don't know enough of ~< .
<Bike> so, i mean, ~< ~:> is like pprint-logical-block, and takes one argument
<Bike> and in this case the one argument is just a symbol foo
<Bike> so, per the description of pprint-logical-block, it just does WRITE
<remexre> okay
<Bike> for something like (format nil "that string" 'foo ...), i mean
<remexre> so I'd want to put the args I'm passing in a (list )?
<Bike> think so. in this case you have a pretty natural plist already, i think?
<remexre> oh, yeah, I didn't even think of that :P
<pjb> clall -r '(format nil "#<~<module ~<:name ~W~:> ~<:exports ~W~:> ~<:imports ~W~:> ~<:decls ~W~:>~:>>" (list (quote name) (quote exports) (quote imports) (quote decls)))'
<pjb> Armed Bear Common Lisp --> "#<module NAME EXPORTS IMPORTS DECLS>"
<pjb> CLISP There are not enough arguments left for this format directive. Current point in control string: "#<~<module ~<:name ~W~:> ~<:exports ~W~:> ~<:imports ~W~:> ~<:decls ~W~:>~:>>"
<pjb> ABCL, CCL, ECL, SBCL behave the same.
<pjb> I'm not sure this is an improvement.
<Bike> oh, and as a bonus, if you have ~@< instead, format will use the rest of the arguments as its list
<Bike> so you don't need to explicitly call LIST
<pjb> Yes, but this is orthogonal. Same result as previously.
pnp has quit [Ping timeout: 260 seconds]
Jeanne-Kamikaze has quit [Remote host closed the connection]
MCP_ has quit [Quit: Leaving]
kwhalekiller has quit [Ping timeout: 245 seconds]
<Bike> remexre: maybe #<~@<module ~:i:name ~w ~_:exports ~w ~_:imports ~w ~_:decls ~w~:>>
<Bike> if i do that with 'foo (make-list 20) '(c d) i think that's what you described - :name :exports and stuff are on different lines, aligned
<Bike> er, and throw another list argument in there, i guess.
<remexre> another list = (format stream "..." (list 'name 'exports 'imports 'decls)) ?
<Bike> i have no idea what you have in mind for the exports and imports values
<Bike> (format t "#<~@<module ~:i~_:name ~w ~_:exports ~w ~_:imports ~w~:>>" 'foo (make-list 20) '(c d))
<Bike> is what i did
<Bike> but that doesn't have the imports
<remexre> ah
<remexre> huh, on my sbcl, that gets weird indentation-wise: https://azeban.remexre.xyz/screenshots/4af797d8bb0c641d16ee1f8c859a8e5d62bbb73f.png
<remexre> is that likely to be a vim/slimv bug?
<Bike> errrr my bad
<remexre> hm, no, I get it from the plain repl too
<Bike> remove the ~_ before :name
<remexre> hm, that pushes the other fields' indentation out further
<Bike> i don't know what you mean
<Bike> https://i.imgur.com/8eeOw9C.png here's what i got
<Bike> that's bizarre. what does it do in a bare repl?
<remexre> oh, (format nil ...) looks correct tho
<Bike> maybe the #< should be inside the logical block.
<Bike> as in, ~@<#< bla bla bla >~:>
<Bike> doesn't change it for me though.
<remexre> er wait, left the closing > outside; doesn't seem to make a difference though
<Bike> where the fuck did that extra parenthesis come from
<Bike> FOO (e f))? what??
<Bike> is that a string?
<remexre> oh dang, resizing the terminal messed it up
<remexre> sorry, my screenshot tool is weird about which monitor I screenie from, so I moved the window
<remexre> ttps://azeban.remexre.xyz/screenshots/278f99796e5b575254af0bb90965ed2dfeab63d2.png
<Bike> okay. i guess it must be the extra space?
<remexre> before the e.g. ~_:exports
<remexre> ?
<Bike> in case it's not obvious, i haven't really used the pretty printer myself
<Bike> yes, that one
<Bike> because of course we do want a space if the newline isn't put in
<remexre> hm, that doesn't look like it works either; that'd be more likely if it were ~_ :exports, I'd think
<remexre> yeah and I'm used to wadler-style pretty-printing combinators
<remexre> where you build a tree out of the things to be printed and it selects an optimal layout with search (more-or-less)
Achylles has quit [Remote host closed the connection]
<Bike> i know even less about that
<remexre> yeah, it's just a differnt (and imo more forgiving) way to do the same things
<remexre> that's close enough that the fact that it's completely different is confusing me /hard/
Aruseus has quit [Remote host closed the connection]
cosimone has quit [Quit: WeeChat 2.4]
moei has quit [Quit: Leaving...]
zcid has quit [Remote host closed the connection]
EvW has quit [Ping timeout: 250 seconds]
oni-on-ion has quit [Ping timeout: 264 seconds]
mindthelion has joined #lisp
oni-on-ion has joined #lisp
techquila has quit [Ping timeout: 245 seconds]
stepnem has quit [Ping timeout: 245 seconds]
stepnem has joined #lisp
oni-on-ion has quit [Ping timeout: 264 seconds]
dgfhdfg has joined #lisp
ryufghj has quit [Read error: Connection reset by peer]
varjagg has quit [Quit: ERC (IRC client for Emacs 26.1)]
_whitelogger has joined #lisp
stepnem has joined #lisp
Danishman has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
oni-on-ion has joined #lisp
stepnem has quit [Client Quit]
stepnem has joined #lisp