<LdBeth>
Kundry_Wag: actually the semantics are the same
<LdBeth>
As long as referential transparency is kept
mindthelion has joined #lisp
techquila has quit [Ping timeout: 276 seconds]
krwq has joined #lisp
dddddd has quit [Remote host closed the connection]
cods has quit [Ping timeout: 248 seconds]
<krwq>
is it possible to define macroexpansion-time dynamic bindings? i.e. https://pastebin.com/0zzG03XD so that (foo) won't do anything but (with-test (foo)) will print "test"
lavaflow has quit [Ping timeout: 246 seconds]
<LdBeth>
No
<krwq>
is there some other construct I could use to achieve something along these lines?
<Bike>
krwq: no. what you can do is expand to a symbol macrolet, and then in FOO macroexpand it.
<Bike>
and (defmacro foo ()) for the macrolet version
<Bike>
i don't know of any lectures
<Bike>
but that's basically it, you can use it as a compile time binding
<Bike>
&environment for anything but macroexpansion is pretty undefined. you can also sort of use it to differentiate compilation environments but that's rarely a thing
lavaflow has joined #lisp
<krwq>
ahh, I missed at first that macrolet is defined after expansion - pretty cool way to achieve this Bike
arduo has quit [Remote host closed the connection]
<minion>
There are multiple help modules. Try ``/msg minion help kind'', where kind is one of: "lookups", "helping others", "adding terms", "aliasing terms", "forgetting", "memos", "avoiding memos", "nicknames", "goodies", "eliza", "advice", "apropos", "acronyms".
<jgodbout>
Suppose to be an editor for the boston-lisp project, but having a hard time linking an account...
<jgodbout>
Trying to login through the Github option says account is blocked, while trying to use the google option says email already in use...
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
semz has joined #lisp
semz has quit [Changing host]
semz has joined #lisp
bugrum has quit [Quit: Leaving]
Kundry_Wag has quit [Ping timeout: 245 seconds]
whartung has quit [Ping timeout: 246 seconds]
krwq has quit [Remote host closed the connection]
karlosz_ has quit [Quit: karlosz_]
Insanity_ has quit [Quit: Connection closed for inactivity]
t58 has quit [Quit: Night]
karlosz_ has joined #lisp
libertyprime has joined #lisp
seok has joined #lisp
<seok>
How do I pass json encoded string to lisp functions with YASON?
<seok>
When I use (yason:encode x) it just prints the JSON to standard-output but passes lisp object (hash, arrays) to the function without conversion
<seok>
I wish to pass encoded JSON string to outer function
<pjb>
seok: read the documentation of yason:encode !!!
sellout- has joined #lisp
itruslove has quit [Remote host closed the connection]
xristos has quit [Write error: Broken pipe]
alandipert has quit [Write error: Broken pipe]
selwyn has quit [Write error: Broken pipe]
capadoodle has quit [Write error: Broken pipe]
rme has quit [Write error: Broken pipe]
iskander has quit [Write error: Broken pipe]
cpt_nemo has quit [Write error: Broken pipe]
zotan has quit [Write error: Broken pipe]
dtw has quit [Write error: Broken pipe]
rvirding has quit [Write error: Broken pipe]
zbrown has quit [Write error: Broken pipe]
sciamano has quit [Write error: Broken pipe]
adulteratedjedi has quit [Write error: Broken pipe]
p_l has quit [Write error: Broken pipe]
Ricchi has quit [Write error: Broken pipe]
_whitelogger has joined #lisp
adeht has joined #lisp
sahara3 has left #lisp [#lisp]
milanj_ has quit [Quit: This computer has gone to sleep]
CrazyEddy has joined #lisp
sonologico has quit [Ping timeout: 245 seconds]
booaa has joined #lisp
ntbre has quit [Ping timeout: 268 seconds]
sellout- has joined #lisp
libertyprime has joined #lisp
torbo has joined #lisp
sonologico has joined #lisp
booaa has quit [Remote host closed the connection]
sonologico has quit [Remote host closed the connection]
sellout-1 has quit [Ping timeout: 245 seconds]
sonologico has joined #lisp
_whitelogger has joined #lisp
seok has quit [Remote host closed the connection]
jgodbout has quit [Ping timeout: 245 seconds]
_whitelogger has joined #lisp
elderK has joined #lisp
jgodbout has joined #lisp
gravicappa has joined #lisp
torbo has quit [Remote host closed the connection]
sonologico has quit [Remote host closed the connection]
sonologico has joined #lisp
_whitelogger has joined #lisp
permagreen has joined #lisp
doyougnu has joined #lisp
Bike has quit [Quit: Lost terminal]
doyougnu has quit [Ping timeout: 250 seconds]
zaquest has joined #lisp
CrazyEddy has quit [Remote host closed the connection]
jgodbout has quit [Ping timeout: 272 seconds]
makomo_ has joined #lisp
SaganMan has joined #lisp
Ricchi has quit [Remote host closed the connection]
FennecCode has left #lisp ["ERC (IRC client for Emacs 26.2)"]
CrazyEddy has joined #lisp
xkapastel has joined #lisp
SaganMan has quit [Ping timeout: 272 seconds]
vlatkoB has joined #lisp
orivej has joined #lisp
mindthelion has quit [Ping timeout: 244 seconds]
karswell has quit [Read error: Connection reset by peer]
techquila has joined #lisp
JohnMS has joined #lisp
elderK has quit [Quit: Connection closed for inactivity]
kajo has quit [Ping timeout: 264 seconds]
Nikotiini has quit [Ping timeout: 258 seconds]
gravicappa has quit [Ping timeout: 272 seconds]
ggole has joined #lisp
shrdlu68 has joined #lisp
permagreen has quit [Remote host closed the connection]
Nikotiini has joined #lisp
Necktwi has joined #lisp
techquila has quit [Ping timeout: 276 seconds]
ntbre has joined #lisp
ntbre has quit [Ping timeout: 258 seconds]
JohnMS is now known as JohnMS_AWAY
trocado has quit [Ping timeout: 245 seconds]
JohnMS_AWAY is now known as JohnMS
libertyprime has quit [Ping timeout: 245 seconds]
libertyprime has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
igemnace has joined #lisp
shka_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life has joined #lisp
gxt has quit [Quit: WeeChat 2.5]
lavaflow has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 258 seconds]
shrdlu68 has quit [Quit: WeeChat 2.3]
_whitelogger has joined #lisp
cosimone1 has joined #lisp
cosimone1 has quit [Ping timeout: 276 seconds]
gxt has joined #lisp
random-nick has joined #lisp
techquila has joined #lisp
mindthelion has joined #lisp
JohnMS has quit [Quit: Konversation terminated!]
cods has joined #lisp
cods has quit [Changing host]
cods has joined #lisp
techquila has quit [Ping timeout: 276 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
libertyprime has quit [Ping timeout: 268 seconds]
cosimone has joined #lisp
kajo has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
orivej has joined #lisp
igemnace has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #lisp
jmercouris has joined #lisp
adeht is now known as _death
Inline__ has joined #lisp
SaganMan has joined #lisp
mindthelion has quit [Ping timeout: 258 seconds]
manualcrank has quit [Quit: WeeChat 1.9.1]
Inline has quit [Ping timeout: 264 seconds]
CrazyEddy has quit [Remote host closed the connection]
techquila has joined #lisp
orivej has quit [Read error: Connection reset by peer]
jmercouris has quit [Remote host closed the connection]
CrazyEddy has joined #lisp
Necktwi has quit [Ping timeout: 258 seconds]
_jrjsmrtn has quit [Ping timeout: 272 seconds]
__jrjsmrtn__ has joined #lisp
Necktwi has joined #lisp
Inline__ has quit [Quit: Leaving]
cosimone has quit [Quit: WeeChat 2.5]
Inline has joined #lisp
mindthelion has joined #lisp
gravicappa has joined #lisp
techquila has quit [Ping timeout: 276 seconds]
superkumasan has joined #lisp
_whitelogger has joined #lisp
CrazyEddy has quit [Remote host closed the connection]
CrazyEddy has joined #lisp
Lycurgus has joined #lisp
Josh_2 has joined #lisp
Josh_2 has quit [Read error: Connection reset by peer]
Bike has joined #lisp
Josh_2 has joined #lisp
orivej has joined #lisp
random-nick has quit [Remote host closed the connection]
t58 has joined #lisp
random-nick has joined #lisp
Lycurgus has quit [Quit: Exeunt]
bittersweetsymph has joined #lisp
bittersweetsymph has left #lisp [#lisp]
t58 has quit [Read error: Connection reset by peer]
SaganMan has quit [Quit: WeeChat 1.6]
Insanity_ has joined #lisp
makomo has joined #lisp
FreeBirdLjj has joined #lisp
makomo_ has quit [Ping timeout: 245 seconds]
makomo has quit [Excess Flood]
makomo has joined #lisp
orivej has quit [Read error: Connection reset by peer]
orivej has joined #lisp
cosimone1 has joined #lisp
orivej has quit [Ping timeout: 244 seconds]
lucasb has joined #lisp
dddddd has joined #lisp
ebrasca has joined #lisp
<TMA>
is there an "almost standard" way to represent map/dictionary/hashtable literals? (almost standard means widely accepted as for example asdf, cffi, bordeaux-threads, cl-ppcre or hunchentoot)
Posterdati has quit [Read error: Connection reset by peer]
<LdBeth>
TMA: alexandria ?
lavaflow has joined #lisp
gareppa has joined #lisp
Kundry_Wag has joined #lisp
Arcaelyx has joined #lisp
pest-ctrl has joined #lisp
trocado has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
<flip214>
TMA: how about #.(alexandria:alist-to-hash-table '((:key1 . 1) (:key2 . 2))) ?
gareppa has quit [Quit: Leaving]
cosimone1 has quit [Ping timeout: 250 seconds]
cosimone1 has joined #lisp
nanoz has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
rippa has joined #lisp
Kundry_Wag has quit [Ping timeout: 248 seconds]
DGASAU has quit [Ping timeout: 268 seconds]
jgodbout has joined #lisp
cosimone1 has quit [Quit: WeeChat 2.5]
cosimone1 has joined #lisp
ntbre has joined #lisp
cosimone1 has quit [Client Quit]
cosimone has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
FreeBirdLjj has joined #lisp
X-Scale has joined #lisp
DGASAU has joined #lisp
zigpaw has quit [Remote host closed the connection]
zigpaw has joined #lisp
vxe has joined #lisp
cosimone has quit [Quit: WeeChat 2.5]
doyougnu has joined #lisp
dxtr has quit [Remote host closed the connection]
dxtr has joined #lisp
jgodbout has quit [Ping timeout: 245 seconds]
Josh_2 has quit [Ping timeout: 245 seconds]
gareppa has joined #lisp
gareppa has quit [Remote host closed the connection]
lnostdal has quit [Quit: "Fascism, Nazism, Communism and Socialism are only superficial variations of the same monstrous theme—collectivism." -- Ayn Rand]
jgodbout has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
jgodbout has quit [Ping timeout: 248 seconds]
torbo has joined #lisp
slyrus2 has joined #lisp
slyrus_ has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
slyrus1 has quit [Ping timeout: 268 seconds]
slyrus__ has quit [Ping timeout: 272 seconds]
FreeBirdLjj has quit [Ping timeout: 245 seconds]
sonologico has quit [Ping timeout: 245 seconds]
nowhere_man has joined #lisp
lavaflow has quit [Ping timeout: 258 seconds]
tfeb has joined #lisp
xkapastel has joined #lisp
Jesin has quit [Quit: Leaving]
cosimone has joined #lisp
sonologico has joined #lisp
gareppa has joined #lisp
Jesin has joined #lisp
gareppa has quit [Remote host closed the connection]
rippa has joined #lisp
Josh_2 has joined #lisp
Arcaelyx has quit [Quit: Arcaelyx]
cosimone has quit [Quit: WeeChat 2.5]
nanoz has quit [Ping timeout: 246 seconds]
kajo has quit [Ping timeout: 250 seconds]
Posterdati has joined #lisp
Necktwi has quit [Quit: leaving]
manualcrank has joined #lisp
jgodbout has joined #lisp
vxe has quit [Ping timeout: 248 seconds]
vxe has joined #lisp
tfeb has quit [Remote host closed the connection]
tfeb has joined #lisp
tfeb has quit [Remote host closed the connection]
tfeb has joined #lisp
tfeb has quit [Remote host closed the connection]
jgodbout has quit [Ping timeout: 244 seconds]
tfeb has joined #lisp
tfeb has quit [Client Quit]
vxe has quit [Ping timeout: 272 seconds]
ebrasca has quit [Ping timeout: 276 seconds]
hhdave has joined #lisp
Kevslinger has joined #lisp
space_otter has joined #lisp
hhdave has quit [Quit: hhdave]
hhdave has joined #lisp
shka_ has quit [Ping timeout: 248 seconds]
space_otter has quit [Remote host closed the connection]
vxe has joined #lisp
pdv has joined #lisp
krwq has joined #lisp
pdv has quit [Client Quit]
pdv has joined #lisp
vxe has quit [Ping timeout: 258 seconds]
karswell has joined #lisp
pdv has quit [Remote host closed the connection]
pdv has joined #lisp
permagreen has joined #lisp
grumble has quit [Quit: inside we both know what's been going on, we know the game and we're gonna play it]
fiveop has joined #lisp
<fiveop>
(defclass my-op (asdf:non-propagating-operation) ()) (defmethod asdf:perform ((o my-op) c) (print c)) (asdf:operate 'my-op :alexandria) => no output
<fiveop>
What am I missing?
pdv has quit [Remote host closed the connection]
grumble has joined #lisp
gravicappa has quit [Ping timeout: 246 seconds]
<jackdaniel>
problem description ,)
<fiveop>
I expect at least 'perform ((o my-op) (c system))' to be called, and thus a representation of the system alexandria to be printed.
<fiveop>
but it isn't
<jackdaniel>
your snippet prints here #<system "alexandraia"> and returns two values, operation and a plan
vlatkoB has quit [Remote host closed the connection]
<fiveop>
hm
<jackdaniel>
fiveop: asdf caches results of operations
<jackdaniel>
so it will print only the first time
<jackdaniel>
try restarting your image and pasting it
<fiveop>
That helped, I must have messed something up (eventually, it told me there is no package asdf)
<jackdaniel>
quicklisp calls (require 'asdf) if it is not present
<jackdaniel>
otherwise you need to call it yourself
<jackdaniel>
or put it in the rc file
<fiveop>
It should be and was there (because of quicklisp)
cosimone has joined #lisp
man213 has joined #lisp
space_otter has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<fiveop>
deriving from asdf:downward-operation I got where I wanted: perform called for my-op on all dependencies of the system
<fiveop>
(asdf:clear-system :alexandria) allowed me to run the op multiple times with full effects
fiveop has quit []
pdv has joined #lisp
Lord_of_Life_ has joined #lisp
pdv has quit [Client Quit]
Lord_of_Life has quit [Ping timeout: 248 seconds]
Lord_of_Life_ is now known as Lord_of_Life
C-Keen has joined #lisp
paul0 has quit [Ping timeout: 272 seconds]
igemnace has quit [Read error: Connection reset by peer]
hiroaki has joined #lisp
igemnace has joined #lisp
xkapastel has quit [Quit: Connection closed for inactivity]
<TMA>
LdBeth: flip214: thanks.
theblacksquid has joined #lisp
nowhere_man has quit [Ping timeout: 264 seconds]
dale has joined #lisp
ggole has quit [Quit: Leaving]
cosimone has quit [Quit: WeeChat 2.5]
orivej has joined #lisp
paul0 has joined #lisp
doyougnu has quit [Ping timeout: 276 seconds]
lavaflow has joined #lisp
jgodbout has joined #lisp
xkapastel has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
lavaflow has quit [Ping timeout: 245 seconds]
lavaflow has joined #lisp
<mfiano>
TMA: serapeum has DICT for arbitrarily nested representations
<aeth>
It's basically just turning a plist into a psetf.
abhixec has quit [Remote host closed the connection]
<aeth>
href is another thing that looks trivial. I could probably spin this off into a micro-library.
abhixec has joined #lisp
<mfiano>
It's already in my micro library available on quicklisp
<TMA>
this is looking more and more less and less like a consensus
<aeth>
TMA: The problem is it's not standard and it's not (afaik) in alexandria so everyone writes it themselves because it's so trivial.
permagreen has quit [Remote host closed the connection]
<aeth>
I've seen several #h reader macros, too, but ime the regular macro is simpler because you don't have to worry about the editor doing things like messing up the indentation
Mandus has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 258 seconds]
Jeanne-Kamikaze has joined #lisp
Mandus has joined #lisp
<mfiano>
or doing it correctly by using named-readtables and annotating each file that needs to alter the read table
<aeth>
mfiano: Does using named-readtables stop the editor from taking a multiline #h(:foo 42 :bar 43) and aligning the :bar indentation with 42 instead of with :foo? I don't think it does, unless that has changed since I last tried to use a macro like that.
<aeth>
s/a macro/a reader macro/
<mfiano>
That doesn't occur for me even without named-readtables. keywords are aligned. There is a slime/sly option for it if it's not the default
<mfiano>
and no, named-readtables would need to be aware of that process or use shinmera's trivial indent to add portable rules
<aeth>
mfiano: that is weird... maybe it did change to be reader-macro-aware since I last tried it, which was years ago
<mfiano>
I use Sly though, so could be why it's different. It fixes a lot of strangeness with slime and has better defaults
<mfiano>
Anyway, I'm off
<aeth>
mfiano: Interesting, it did change!
<aeth>
mfiano: That's good to know!
<aeth>
I just did a test with my example and :bar aligns with :foo now, which it didn't used to do. I must've last tried this many years ago, though.
<aeth>
I guess #h is viable now
<aeth>
My bad. I guess even in the Common Lisp world, knowledge can go out of date.
random-nick has quit [Read error: Connection reset by peer]
random-nick has joined #lisp
makomo has quit [Ping timeout: 245 seconds]
khisanth_ has quit [Ping timeout: 246 seconds]
Jesin has quit [Read error: Connection reset by peer]
orivej has joined #lisp
makomo has joined #lisp
<edgar-rft>
aeth: it's not your fault, it's the real world that has moved away from the knowledge
monokrom has joined #lisp
<aeth>
edgar-rft: Well, I can tell you for sure that if you're a time traveller or if time moves backwards for you, then you shouldn't use reader macros where you want plists to align properly.
space_otter has quit [Remote host closed the connection]
buffergn0me has quit [Remote host closed the connection]
risto has quit [Quit: rcirc on GNU Emacs 26.2]
buffergn0me has joined #lisp
Lycurgus has joined #lisp
khisanth_ has joined #lisp
orivej has quit [Ping timeout: 245 seconds]
man213 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ahungry has joined #lisp
jgodbout has quit [Ping timeout: 246 seconds]
akoana_ has joined #lisp
akoana_ has quit [Client Quit]
akoana has joined #lisp
zotan has quit [Ping timeout: 245 seconds]
zotan has joined #lisp
hhdave has quit [Quit: hhdave]
hiroaki has quit [Ping timeout: 248 seconds]
ltriant has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
stepnem has quit [Ping timeout: 268 seconds]
lavaflow has quit [Ping timeout: 272 seconds]
gioyik has joined #lisp
Insanity_ has quit [Quit: Connection closed for inactivity]
stepnem has joined #lisp
Ricchi has joined #lisp
ahungry has quit [Remote host closed the connection]
kajo has joined #lisp
akoana has left #lisp ["Leaving"]
Lycurgus has quit [Quit: Exeunt]
wigust has joined #lisp
random-nick has quit [Read error: Connection reset by peer]