phoe 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.4.16, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
<dim> down to 32, which I think are issues that would need taken care of, most of them are whishlist items though.
random-nick has quit [Read error: Connection reset by peer]
oni-on-ion has quit [Ping timeout: 258 seconds]
t58 has quit [Quit: Night]
<phoe> <3
oni-on-ion has joined #lisp
<dim> if I had to hint on priority/impact of open items, phoe, I would put 782 pretty high on the list, if not at the top of it...
bexx has quit [Remote host closed the connection]
oni-on-ion has quit [Remote host closed the connection]
zotan has quit [Ping timeout: 248 seconds]
zotan has joined #lisp
zotan has quit [Ping timeout: 246 seconds]
zotan has joined #lisp
karlosz has quit [Quit: karlosz]
nydel has joined #lisp
asdf_asdf_asdf has quit [Remote host closed the connection]
saturn2 has joined #lisp
oni-on-ion has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
longshi has joined #lisp
_whitelogger has joined #lisp
selwyn has quit [Ping timeout: 245 seconds]
copec has quit [Ping timeout: 252 seconds]
Jachy has quit [Ping timeout: 252 seconds]
iarebatman has quit [Ping timeout: 252 seconds]
djeis[m] has quit [Ping timeout: 252 seconds]
sciamano has quit [Ping timeout: 248 seconds]
dtw has quit [Ping timeout: 248 seconds]
katco has quit [Ping timeout: 252 seconds]
akanouras has quit [Ping timeout: 252 seconds]
no-defun-allowed has quit [Ping timeout: 264 seconds]
Gnuxie[m] has quit [Ping timeout: 252 seconds]
holycow has quit [Ping timeout: 255 seconds]
copec has joined #lisp
campy_fellow has quit [Ping timeout: 255 seconds]
irdr has quit [Remote host closed the connection]
irdr has joined #lisp
orivej has joined #lisp
mindCrime_ has quit [Ping timeout: 255 seconds]
z3t0 has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
kayront has quit [Quit: ZNC 1.7.1 - https://znc.in]
mercourisj has joined #lisp
hvxgr_ has quit [Ping timeout: 246 seconds]
hvxgr has joined #lisp
campy_fellow has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
imnisen has joined #lisp
<imnisen> Hi
rotty1 has joined #lisp
mulk has quit [*.net *.split]
ricekrispie has quit [*.net *.split]
jmercouris has quit [*.net *.split]
bitch has quit [*.net *.split]
Younder has quit [*.net *.split]
Tordek has quit [*.net *.split]
whartung has quit [*.net *.split]
vibs29 has quit [*.net *.split]
l1x has quit [*.net *.split]
stux|RC has quit [*.net *.split]
Posterdati has quit [*.net *.split]
Xizor has quit [*.net *.split]
bobby has quit [*.net *.split]
phadthai has quit [*.net *.split]
dvdmuckle has quit [*.net *.split]
White_Flame has quit [*.net *.split]
Ekho has quit [*.net *.split]
Aritheanie has quit [*.net *.split]
Lord_Nightmare has quit [*.net *.split]
rotty has quit [*.net *.split]
kbtr has quit [*.net *.split]
jxy has quit [*.net *.split]
mrcom has quit [*.net *.split]
mfiano has quit [*.net *.split]
no-defun-allowed has joined #lisp
PuercoPop has quit [Ping timeout: 246 seconds]
copec has quit [Ping timeout: 255 seconds]
PuercoPop has joined #lisp
copec has joined #lisp
orivej has quit [Ping timeout: 245 seconds]
mindCrime_ has joined #lisp
shifty has joined #lisp
longshi has quit [Ping timeout: 258 seconds]
dtw has joined #lisp
igemnace has joined #lisp
mercourisj has quit [Ping timeout: 252 seconds]
Ekho has joined #lisp
Jachy has joined #lisp
iarebatman has joined #lisp
sciamano has joined #lisp
katco has joined #lisp
akanouras has joined #lisp
z3t0 has joined #lisp
imnisen has quit [Quit: ERC (IRC client for Emacs 26.1)]
Oladon has quit [Ping timeout: 255 seconds]
mulk has joined #lisp
phadthai has joined #lisp
ricekrispie has joined #lisp
bitch has joined #lisp
kbtr has joined #lisp
stux|RC has joined #lisp
bobby has joined #lisp
Xizor has joined #lisp
l1x has joined #lisp
Tordek has joined #lisp
Lord_Nightmare has joined #lisp
Posterdati has joined #lisp
White_Flame has joined #lisp
Younder has joined #lisp
dvdmuckle has joined #lisp
vibs29 has joined #lisp
whartung has joined #lisp
Aritheanie has joined #lisp
mrcom has joined #lisp
jxy has joined #lisp
mfiano has joined #lisp
patrixl has joined #lisp
caltelt_ has joined #lisp
caltelt has quit [Ping timeout: 255 seconds]
Kevslinger has joined #lisp
<beach> Good morning everyone!
<patrixl> hi beach
patrixl has quit [Quit: ERC (IRC client for Emacs 26.1)]
patrixl has joined #lisp
<v0|d> beach: mornin'
mindCrime_ has quit [Excess Flood]
mindCrime_ has joined #lisp
karlosz has joined #lisp
caltelt_ has quit [Ping timeout: 258 seconds]
Oladon has joined #lisp
dacoda has joined #lisp
torbo has joined #lisp
_whitelogger has joined #lisp
bashhack has joined #lisp
buffergn0me has joined #lisp
dacoda has quit [Ping timeout: 246 seconds]
q9929t has joined #lisp
q9929t has quit [Client Quit]
nanoz has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
altgray has joined #lisp
dale has quit [Quit: dale]
bashhack has quit [Ping timeout: 244 seconds]
wxie has joined #lisp
dale has joined #lisp
makomo has joined #lisp
mindCrime_ has quit [Read error: Connection reset by peer]
mindCrime_ has joined #lisp
kushal has quit [Ping timeout: 256 seconds]
kushal has joined #lisp
mindCrime has joined #lisp
mindCrime_ has quit [Ping timeout: 246 seconds]
t58 has joined #lisp
pierpal has quit [Ping timeout: 246 seconds]
wigust- has joined #lisp
FreeBirdLjj has joined #lisp
igemnace has quit [Quit: WeeChat 2.4]
wigust has quit [Ping timeout: 245 seconds]
FreeBirdLjj has quit [Ping timeout: 246 seconds]
vlatkoB has joined #lisp
LdBeth has joined #lisp
<nydel> good morning all
<LdBeth> GG
torbo has quit [Remote host closed the connection]
<beach> Hello nydel.
<nydel> hello beach, hello LdBeth. y'all up to anything interesting?
<beach> I am working on getting the new version of the HIR code to execute in the host. Also thinking about SICL debugging.
<beach> The next step is to convert the HIR code to MIR, which is one step closer to generation of native code.
Arcaelyx has quit [Ping timeout: 246 seconds]
<nydel> beach: thank you for sharing, i always find whatever you're up to very interesting
<beach> Thanks.
_whitelogger has joined #lisp
<LdBeth> I'm working on port MLPolyR to x64
_whitelogger has joined #lisp
_whitelogger has joined #lisp
longshi has joined #lisp
longshi has quit [Ping timeout: 258 seconds]
wxie has quit [Ping timeout: 255 seconds]
andrei-n has joined #lisp
Oladon has quit [Quit: Leaving.]
altgray has quit [Quit: ERC (IRC client for Emacs 26.1)]
shka_ has joined #lisp
dddddd has quit [Remote host closed the connection]
orivej has joined #lisp
invergo has joined #lisp
lumm has joined #lisp
jmercouris has joined #lisp
jmercouris has quit [Remote host closed the connection]
Gnuxie[m] has joined #lisp
luhuaei has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
_whitelogger has joined #lisp
invergo has quit [Quit: invergo]
dacoda has quit [Remote host closed the connection]
dale has quit [Quit: dale]
dacoda has joined #lisp
dacoda has quit [Remote host closed the connection]
wxie has joined #lisp
dacoda has joined #lisp
nanoz has quit [Ping timeout: 255 seconds]
campy_fellow has quit [Ping timeout: 252 seconds]
campy_fellow has joined #lisp
Inline has quit [Quit: Leaving]
oni-on-ion has quit [Remote host closed the connection]
Inline has joined #lisp
pierpal has joined #lisp
karlosz has quit [Quit: karlosz]
froggey has quit [Ping timeout: 244 seconds]
froggey has joined #lisp
Krystof has joined #lisp
wxie has quit [Quit: wxie]
varjag has joined #lisp
nowhere_man has joined #lisp
random-nick has joined #lisp
wxie has joined #lisp
asdf_asdf_asdf has joined #lisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #lisp
nowhereman has joined #lisp
nowhere_man has quit [Ping timeout: 246 seconds]
dacoda has quit [Ping timeout: 252 seconds]
orivej has joined #lisp
patrixl has quit [Remote host closed the connection]
<dim> beach: I've been wondering if anyone used SICL to implement CL for the .Net environement, of all things, recently, ala clasp for the CLR…
<dim> (dotnet core is now open source after all)
<no-defun-allowed> can't, mono still conflicts with chicken scheme on most distros
techquila has quit [Ping timeout: 252 seconds]
notzmv has joined #lisp
nowhereman has quit [Ping timeout: 258 seconds]
v88m has quit [Remote host closed the connection]
v88m has joined #lisp
mindCrime has quit [Ping timeout: 268 seconds]
jfb4 has joined #lisp
scymtym has joined #lisp
wxie has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 258 seconds]
t58 has quit [Quit: ...]
dddddd has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 246 seconds]
Lord_of_Life_ is now known as Lord_of_Life
cosimone has joined #lisp
rippa has joined #lisp
cosimone has quit [Quit: WeeChat 2.3]
wxie has joined #lisp
wxie has quit [Read error: Connection reset by peer]
wxie has joined #lisp
nanoz has joined #lisp
bars0 has joined #lisp
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
bars0 has quit [Ping timeout: 244 seconds]
lemoinem is now known as Guest49302
Guest49302 has quit [Killed (card.freenode.net (Nickname regained by services))]
lemoinem has joined #lisp
wxie has quit [Quit: wxie]
vlatkoB_ has joined #lisp
random-nickname has joined #lisp
vlatkoB has quit [Ping timeout: 268 seconds]
v88m has quit [Read error: Connection reset by peer]
random-nick has quit [Ping timeout: 258 seconds]
random-nickname has quit [Read error: Connection reset by peer]
Kevslinger has joined #lisp
JetJej has joined #lisp
v88m has joined #lisp
andrei-n has quit [Read error: Connection reset by peer]
charh has quit [Remote host closed the connection]
selwyn has joined #lisp
wooden__ has quit [Read error: Connection reset by peer]
<phoe> dim: no one, though you could theoretically run ABCL on CLR via some bytecode translation mechanism and compatibility layer
lucasb has joined #lisp
<beach> dim: I seriously doubt it.
asdf_asdf_asdf has quit [Ping timeout: 258 seconds]
gareppa has joined #lisp
v88m has quit [Read error: Connection reset by peer]
gareppa has quit [Quit: Leaving]
random-nickname has joined #lisp
_whitelogger has joined #lisp
selwyn has quit [Ping timeout: 245 seconds]
selwyn has joined #lisp
Josh_2 has joined #lisp
selwyn has quit [Ping timeout: 258 seconds]
beach has quit [Disconnected by services]
beach has joined #lisp
gareppa has joined #lisp
caltelt_ has joined #lisp
gareppa has quit [Remote host closed the connection]
shifty has quit [Ping timeout: 258 seconds]
FreeBirdLjj has joined #lisp
sz0 has joined #lisp
random-nickname is now known as random-nick
cdegroot has joined #lisp
cosimone has joined #lisp
selwyn has joined #lisp
gxt has quit [Ping timeout: 252 seconds]
gxt has joined #lisp
campy_fellow has quit [Ping timeout: 268 seconds]
campy_fellow has joined #lisp
rdh has joined #lisp
Arcaelyx has joined #lisp
nowhereman has joined #lisp
v88m has joined #lisp
puchacz has joined #lisp
<puchacz> hi, can I execute a function from REPL that is normally executed inside hunchentoot handler please? things like *reply* would have to be bound to something
cosimone has quit [Quit: WeeChat 2.3]
<puchacz> right, (let ((*reply* (make-instance 'hunchentoot:reply))) .... ) takes me far enough for my current problem :)
cdegroot has quit [Ping timeout: 244 seconds]
Zaab1t has joined #lisp
Zaab1t has quit [Client Quit]
ravndal has quit [Quit: WeeChat 2.4]
drewc has joined #lisp
ravndal has joined #lisp
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
troydm has joined #lisp
hiroaki has joined #lisp
Oladon has joined #lisp
nowhereman has quit [Ping timeout: 246 seconds]
Zaab1t has joined #lisp
hiroaki has quit [Ping timeout: 246 seconds]
hiroaki has joined #lisp
hiroaki has quit [Max SendQ exceeded]
Zaab1t has quit [Client Quit]
hiroaki has joined #lisp
hiroaki has quit [Max SendQ exceeded]
hiroaki has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
Josh_2 has quit [Quit: ERC (IRC client for Emacs 26.1)]
gabbiel has joined #lisp
margaritamike has left #lisp [#lisp]
<gabbiel> ok, I have a macro, which macro expands into a defun, how come compiler says the function hasn't been defined though
asdf_asdf_asdf has joined #lisp
dacoda has joined #lisp
vms14 has joined #lisp
hiroaki has quit [Ping timeout: 252 seconds]
<stylewarning> gabbiel: when are you trying to call the function?
<stylewarning> In the same file?
<stylewarning> Maybe you could share the macro?
<gabbiel> here's macro
oni-on-ion has joined #lisp
<gabbiel> (defmacro difun (name function &optional documentation)
<gabbiel> "Defun NAME to apply FUNCTION to arbitrary &rest args."
<gabbiel> (apply ,function args)))
<gabbiel> `(defun ,name (&rest args) ,documentation
<gabbiel>
causenetsofv has joined #lisp
<gabbiel> and I have these two difuns in a file, but the latter one fails
<gabbiel> (difun %.flavors #'cddr) (difun flavors% (compose (tuply '+) (curry 'mapcar 'car) %.flavors))
<gabbiel> because it says that %.flavors is undefined, but it should be because I DIFUN'd it
<gabbiel> omg, just realized I didn't quote it
<gabbiel> but the problem persisted for another difun though
<gabbiel> and in that case, it didnt need to be quoted cause it was first element in list
selwyn has quit [Remote host closed the connection]
nanoz has quit [Ping timeout: 245 seconds]
nowhereman has joined #lisp
hiroaki has joined #lisp
mindCrime has joined #lisp
jtecca has joined #lisp
manualcrank has quit [Quit: WeeChat 1.9.1]
jtecca has left #lisp [#lisp]
krwq has joined #lisp
<dim> anyway before CL on .Net I should invest time to produce a pgloader.jar that would be able to use JDBC, that'd be quite something, I guess
Necktwi has joined #lisp
maxxcan has joined #lisp
moei has joined #lisp
causenetsofv has quit [Ping timeout: 255 seconds]
bars0 has joined #lisp
hiroaki has quit [Read error: Connection reset by peer]
hiroaki has joined #lisp
torbo has joined #lisp
bars0 has quit [Ping timeout: 246 seconds]
<beach> gabbiel: If you try to call the function in the same file, it won't work because the file compiler does not create the function at compile time. Only at load time.
<beach> I mean, it will work after the file has been loaded, but it will give you a warning at compile time because the compiler is trying to compile a function-call form with a function that is not yet defined.
<beach> gabbiel: But I think you need to explain a lot more about the exact contents of your file(s), how you compile them, and what you expect the result to be. For that, use a pastebin site rather than typing the code here in the channel.
<LdBeth> Good morning
<beach> Hello LdBeth.
<beach> gabbiel: However, I can't stick around to help you because I am off to spend time with my (admittedly small) family.
<LdBeth> nydel: the original code generator targets PPC, I’m working on generating architecture independent IR so I can use other compiler back to generate native binary
Oladon has quit [Quit: Leaving.]
rumbler31 has joined #lisp
slyrus__ has joined #lisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #lisp
<gabbiel> thanks beach, I think I understand now
slyrus_ has quit [Ping timeout: 248 seconds]
rumbler31 has quit [Remote host closed the connection]
beach has quit [Ping timeout: 257 seconds]
Kevslinger has quit [Quit: Connection closed for inactivity]
<krwq> how do i find list of predefined types in clhs?
<krwq> (not classes)
sz0 has quit [Quit: Connection closed for inactivity]
<krwq> dtw: yes, exactly! thanks!
<krwq> dtw: Interestingly list does not contain stuff like boolean
<gabbiel> yeah, cause nil is a null, and t is everything
<dtw> There is NULL type and NIL value is of that type.
<krwq> gabbiel: nope, when i do (let ((foo "bar")) (check-type foo boolean)) it complains - only allows t and nil
<gabbiel> weird how it isn't the there
<gabbiel> slime recognizes it as a type specified
<gabbiel> *specifier
<krwq> perhaps sbcl specific or in alexandria
<gabbiel> who's members are T and NIL
<gabbiel> maybe
<krwq> (symbol-package 'boolean) says common-lisp
<gabbiel> same here, might be sbcl though, since my slime uses sbcl
<pjb> krwq: (deftype generalized-boolean () 't) (let ((foo "bar")) (check-type foo generalized-boolean) foo) #| --> "bar" |#
beach has joined #lisp
<krwq> pjb: i actually want the boolean behavior not generalized one but was wondering about a complete list of all types defined in the spec
maxxcan has quit [Quit: maxxcan]
vms14 has quit [Quit: WeeChat 2.3]
nowhere_man has joined #lisp
<beach> krwq: Classes are types as well, so why do you want to exclude them?
<beach> clhs 4.2.3
nowhereman has quit [Ping timeout: 258 seconds]
<beach> krwq: ↑
<krwq> beach: do not want to exclude them, just clarifying that i didn't confuse terms
<beach> It is especially strange to exclude classes since it is allowed for an implementation to have a class where the standard requires it to be only a type. Like FIXNUM for instance.
<beach> I see.
<beach> Well, on that page, you have the complete list of type specifiers.
jfb4 has quit [Ping timeout: 258 seconds]
mindCrime has quit [Ping timeout: 255 seconds]
dacoda has quit [Ping timeout: 250 seconds]
longshi has joined #lisp
t58 has joined #lisp
<mfiano> Anyone know a good way to go about downloading large files to disk with drakma or dexador without an intermediate octet vector in memory?
longshi has quit [Ping timeout: 252 seconds]
jmercouris has joined #lisp
<krwq> mfiano: drakma has :want-stream t
<krwq> I usually wrap it with flexi stream and read
<krwq> also :force-binary is useful to have uniform experience
Oladon has joined #lisp
<krwq> mfiano: after you got stream just create a file stream and alexandria has copy-stream
<mfiano> krwq: It looks like dexador has (dex:fetch url pathname)
<krwq> but I think there will be intermediate vector somewhere but only to forward
<krwq> I mean not entire stream in the vector just buffer to forward it to another stream. haven't used dexador much - I had some issues with it in the past so came back to using drakma
<mfiano> It makes use of :want-stream t for you
<krwq> mfiano: i recall having some issues with dexador - i think it was proxy servers but can't remember
<mfiano> I've had issues with both, due to usocket bugs, but my use this time doesn't affect my choice
<krwq> http stack feels like needs a redesign - perhaps some fork of drakma
<krwq> anyway, I'll be afk for some time, good luck
izh_ has joined #lisp
longshi has joined #lisp
fivo has joined #lisp
mindCrime has joined #lisp
nowhere_man has quit [Ping timeout: 246 seconds]
<borodust> bodge-ui-window (yet another gui dependent on foreign powers) now should work alright on retina displays too, any help with running example (https://github.com/borodust/bodge-ui-window#install) on macos with retina display is much appreciated
anewuser has joined #lisp
hiroaki has quit [Ping timeout: 246 seconds]
longshi has quit [Ping timeout: 252 seconds]
hhdave has joined #lisp
notzmv has quit [Ping timeout: 245 seconds]
teej has quit [Quit: Connection closed for inactivity]
notzmv has joined #lisp
vlatkoB_ has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
rumbler31 has joined #lisp
cosimone has joined #lisp
Oladon has quit [Quit: Leaving.]
karlosz has joined #lisp
TheWild has joined #lisp
<TheWild> hello
orivej has joined #lisp
<TheWild> sooner or later I had to hit this issue:
<TheWild> (if cond-expr then-expr else-expr)
<TheWild> how to put multiple things in then-expr and/or else-expr?
<jmercouris> TheWild: use progn
<edgar-rft> (if cond-expr (progn then-expr-1 ...) (progn else-expr-1 ...))
<jmercouris> TheWild: (progn (print "1") (print "2"))
<TheWild> progn probably returns the result of last statement
<TheWild> ok, deal. Thank you.
<jmercouris> edgar-rft: I was faster!
<jmercouris> TheWild: when in doubt, consult the hyperspec
<jmercouris> clhs progn
<jmercouris> TheWild: "The values of each form but the last are discarded. "
<edgar-rft> jmercouris: but I was better :.-)
<jmercouris> edgar-rft: I admit defeat :D
<edgar-rft> let's compete who's PROGN is bigger
<TheWild> if not progn, I would probably end up with (let () (print "1") (print "2"))
selwyn has joined #lisp
<edgar-rft> TheWild: That would work, too, and COND has the PROGNs already built-in
<jmercouris> its PROGNs all the way down
shka_ has quit [Ping timeout: 244 seconds]
techquila has joined #lisp
techquila has quit [Remote host closed the connection]
techquila has joined #lisp
parjanya has joined #lisp
teej has joined #lisp
hhdave has quit [Quit: hhdave]
TheWild has quit [Quit: TheWild]
<saturn2> is there some code that will list the memory used by each global variable in a lisp image? or otherwise help track down gradual memory growth
<Xach> dim: ya broke cl-db3!!
libertyprime has joined #lisp
<edgar-rft> saturn2: AFAIK the only memory inspection tool mentioned in the CL standard is ROOM. Since low-level memory allocation is implementation-dependent there might be more or better tools provided by the respective CL implementation.
izh_ has quit [Remote host closed the connection]
gabbiel has quit [Remote host closed the connection]
gabbiel has joined #lisp
<gabbiel> test
<aeth> saturn2: Generally you'd profile functions not variables afaik.
<aeth> e.g. in SBCL, (sb-profile:profile foo) and then just periodically check on it to see how its measured consing climbs over time
<aeth> I think someone made a portable clone of sb-profile
<aeth> (you'd check with (sb-profile:report))
random-nick has quit [Ping timeout: 246 seconds]
<saturn2> lots of functions do consing... i don't think sb-profile tracks how much of that consing sticks around for a given length of time
jmercouris has quit [Ping timeout: 258 seconds]
<saturn2> it's trivial to iterate over all symbols and check if they're boundp, the tricky part is calculating the size of lists, arrays, hash tables, clos objects, etc
<rdh> hey, i am trying to get list of values quoted but i want it as arguments to a function, currently: (OR (NIL NIL NIL NIL T T NIL NIL)) ... but i need it to print (or (nil) (nil)...
<rdh> but when i do something like that i get (OR ((XOR-2-VALUES T T) (XOR-2-VALUES T T)))
<pjb> right.
<rdh> which adds extra quotes and trys to eval the first argument as a function... which is not what I want... is there a good web page that has good thorough example to read?
<rdh> lol i mean adds parentheses...
<pjb> No, there's no web page explaining in details how you should write your specific program.
<pjb> If there was, we wouldn't need you as a programmer.
<saturn2> (room t) on sbcl gives enough info to tell me i'm leaking simple-vectors, but it doesn't tell me where they're ending up
<pjb> We'd just go to this web page and copy-and-paste the code.
<rdh> pjb
<rdh> thats not what i asked.
<pjb> But you're keeping your code close to you chest, right.
<rdh> no
* pjb is back watching his movie.
akoana has joined #lisp
Necktwi has quit [Ping timeout: 244 seconds]
Necktwi has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Kevslinger has joined #lisp
djeis[m] has joined #lisp
gabbiel has quit [Ping timeout: 246 seconds]
moei has quit [Quit: Leaving...]
puchacz has quit [Quit: Konversation terminated!]
fivo has quit [Quit: WeeChat 1.9.1]
cosimone has quit [Quit: WeeChat 2.3]
<jgkamat> does anyone know if it's possible to attach some data to a function somehow? Like a marker or something, on the function itself.
<krwq> jgkamat: I think people usually use hash-table and define a macro which auto-adds something there
<jgkamat> hmm, ok, that was my backup plan
<krwq> jgkamat: how would attaching data to a function work?
<jgkamat> in python, you can do it. Basically function.data = "foo" and "foo" == funciton.data. Maybe something like (getf #'my-function 'data)
<no-defun-allowed> if all the functions have names, you can use symbol plists
drdo has quit [Quit: ...]
varjag has quit [Quit: ERC (IRC client for Emacs 26.1)]
drdo has joined #lisp
<saturn2> jgkamat: there are funcallable-instances http://metamodular.com/CLOS-MOP/funcallable-instances.html
<krwq> saturn2: nice
<jgkamat> ooh that's interesting saturn2
<saturn2> you can also make a closure like (let ((data "foo")) (defun x ...))
<jgkamat> if I do the closure is there a way to get the data (from outside the function)
<krwq> you can define two functions in the same closure and call one of them and use other one to retrieve data
rumbler31 has joined #lisp
<jgkamat> oh wow that's creative
<jgkamat> I think this funcallable instance thing is the way to go though
<krwq> you likely won't need to do that if you do something along those lines
<Jachy> jgkamat: Property lists? (defun fun-foo () ...) (setf (get 'fun-foo 'data) "foo") (get 'fun-foo 'data) ;-> "foo"
<jgkamat> wait you can just do that, one sec
<jgkamat> woaaaaaah nice, this is exactly what I wanted :]
asdf_asdf_asdf has quit [Ping timeout: 268 seconds]
<jgkamat> hmm, actually, is there a way to pass the function instead of a symbol in to get the data
<jgkamat> maybe I should figure out what get is doing
<saturn2> no, property lists are attached to symbols, not functions
asdf_asdf_asdf has joined #lisp
karlosz has quit [Quit: karlosz]
rumbler31 has quit [Remote host closed the connection]
<Jachy> jgkamat: Maybe the other way around, see what defun/function/symbol-function are doing ;) I suppose you could add a wrapper that asserted that the given symbol was fboundp if you wanted to make sure you can also associate a function from the symbol.
nowhere_man has joined #lisp
dacoda has joined #lisp
dacoda has quit [Remote host closed the connection]
sjl has quit [Ping timeout: 244 seconds]
dacoda has joined #lisp
dacoda has quit [Remote host closed the connection]
techquila has quit [Remote host closed the connection]
techquila has joined #lisp
techquila has quit [Remote host closed the connection]
techquila has joined #lisp
sjl has joined #lisp
dacoda has joined #lisp
techquila has quit [Read error: Connection reset by peer]
techquila has joined #lisp
techquila has quit [Remote host closed the connection]
techquila has joined #lisp
Arcaelyx has quit [Read error: Connection reset by peer]
dacoda has quit [Remote host closed the connection]
dacoda has joined #lisp
dacoda has quit [Read error: Connection reset by peer]
dacoda has joined #lisp
dacoda has quit [Remote host closed the connection]
dacoda has joined #lisp
Oladon has joined #lisp
JetJej has quit [Read error: Connection reset by peer]
dacoda has quit [Remote host closed the connection]
dacoda has joined #lisp
dacoda has quit [Remote host closed the connection]
dacoda has joined #lisp
dacoda has quit [Remote host closed the connection]
dacoda has joined #lisp
kajo has joined #lisp
Arcaelyx has joined #lisp
rumbler31 has joined #lisp
Lord_of_Life_ has joined #lisp
slyrus_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 268 seconds]
Lord_of_Life_ is now known as Lord_of_Life
slyrus__ has quit [Ping timeout: 258 seconds]
rumbler31 has quit [Remote host closed the connection]
akoana has quit [Ping timeout: 255 seconds]
cdegroot has joined #lisp
Necktwi has quit [Ping timeout: 255 seconds]
libertyprime has quit [Ping timeout: 268 seconds]