treflip has quit [Remote host closed the connection]
lottaquestions_ has joined #lisp
alxplorer has joined #lisp
lottaquestions has quit [Ping timeout: 265 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
cjv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosimone has quit [Client Quit]
saganman has joined #lisp
dbotton__ has joined #lisp
dbotton_ has quit [Ping timeout: 260 seconds]
dbotton has quit [Ping timeout: 240 seconds]
fwoaroof[m] has quit [Quit: Idle for 30+ days]
uniminin has joined #lisp
<pve>
Hi! In a call to a function, such as (make-foo :a 1 :b 2), is it correct to call the ":a 1 :b 2" part (including the keywords) the "arguments"?
<pve>
and "1" and "2" the "parameters"?
<pve>
sorry if this is too elementary
sts-q has joined #lisp
iissaacc has joined #lisp
alxplorer has quit [Remote host closed the connection]
<phoe>
these are commonly called keyword parameters
<phoe>
the CLHS also calls them that way
<phoe>
as in, everything after &key is keyword parameters, except for any &allow-other-keys
<beach>
phoe: But these are the argument.
<beach>
Not the parameters.
<beach>
It's a call, not a definition.
<phoe>
oh! sorry
* phoe
re-reads 3.4.1.4
<beach>
pve: I think "keyword arguments" is fine. If you want to be more specific, you could say "keyword-argument pairs".
<beach>
pve: Notice, however, that you can't tell from a call whether they are keyword arguments.
<beach>
pve: For example: (list :a 1 :b 2) is a fine call, but they are not keyword arguments.
nicktick has quit [Ping timeout: 260 seconds]
<pve>
beach: great, thanks
<pve>
phoe: ^
<beach>
pve: Conversely, in something like (bla 'a 1 'b 2) they can very well be keyword arguments.
<pve>
beach: in (list :a 1 :b 2) they're just "arguments"?
<beach>
Yeah.
<pve>
ok, thank you
<beach>
Also try (defun f (x &key ((a y))) (list x y)) then (f 234 'a 33)
refpga has quit [Ping timeout: 264 seconds]
* pve
tries
refpga has joined #lisp
<no-defun-allowed>
One too many parens around (a y)?
galex-713 has quit [Ping timeout: 272 seconds]
<beach>
I don't think so. Did I do it wrong?
<no-defun-allowed>
Well, that works -- I haven't seen that before.
<beach>
(a y) would be the variable a with a default value of y.
<no-defun-allowed>
Indeed.
<beach>
This means the variable y to be recognized by the keyword a.
<beach>
The glossary entry for "parameter" distinguishes between "parameter" and "argument".
<pve>
beach: hmm, I think I need to read the spec for that one.. my first reaction was also, "looks like one pair of parens too many"
orivej has joined #lisp
ebrasca has joined #lisp
<pve>
beach: ok, I think I understand now
<pve>
it's a way to have a keyword parameter that is not given with a keyword symbol
<scymtym>
it could still be a keyword but not the default one derived from the variable name
<pve>
right
srhm has joined #lisp
<beach>
no-defun-allowed: You haven't seen it because you haven't attempted to implement lambda-list parsing. :)
<pve>
and reading the above again, beach did say it, but I just couldn't parse it
<scymtym>
which is probably the more common use-case because it let's you chose the keyword parameter name in a way that maintains the "external interface" but bind the passed argument to an unrelatedly named variable
<no-defun-allowed>
beach: That is quite possible :)
zacts has joined #lisp
edgar-rft has joined #lisp
alxplorer has joined #lisp
<_death>
one use for it is to bind to a special variable without an explicit let
<_death>
another is for CL names that can't be bound
alxplorer has quit [Remote host closed the connection]
jesse1010 has joined #lisp
radiohead_fan has joined #lisp
<radiohead_fan>
has anybody ever worked with cl-tcod?
wxie has quit [Ping timeout: 256 seconds]
<Xach>
radiohead_fan: i have worked to get it to build on my system, but never actually used it
<radiohead_fan>
damn.... i need help with using it
alxplorer has joined #lisp
alxplorer has quit [Remote host closed the connection]
scymtym has quit [Ping timeout: 240 seconds]
uniminin has quit [Quit: Leaving]
EvW has joined #lisp
zacts has quit [Quit: leaving]
rtypo has joined #lisp
davepdotorg has quit [Remote host closed the connection]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdot_ has joined #lisp
davepdot_ has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdot_ has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdot_ has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
santiagopim[m] has quit [Quit: killed]
no-defun-allowed has quit [Quit: killed]
pcgme[m] has quit [Quit: killed]
even4void[m] has quit [Quit: killed]
Gnuxie[m] has quit [Quit: killed]
kelamir[m] has quit [Quit: killed]
kinope has quit [Quit: killed]
infra_red[m] has quit [Quit: killed]
katco has quit [Quit: killed]
luis75 has quit [Read error: Connection reset by peer]
MrtnDk[m] has quit [Quit: killed]
goldrin1227[m] has quit [Quit: killed]
tekipeps[m] has quit [Quit: killed]
materialfuture[m has quit [Quit: killed]
xzax_[m]1 has quit [Quit: killed]
santiagopim[m]1 has quit [Quit: killed]
cairn has quit [Quit: killed]
Dmytro[m] has quit [Quit: killed]
hansbauer[m] has quit [Quit: killed]
xzax_[m] has quit [Quit: killed]
scymtym has joined #lisp
eriix[m] has quit [Quit: killed]
luis7 has quit [Remote host closed the connection]
luis75 has joined #lisp
no-defun-allowed has joined #lisp
<no-defun-allowed>
radiohead_fan: Do you really like True Stories that much? I thought it was generally considered to be Talking Heads' worst album.
<no-defun-allowed>
Joking aside, what's it do? It looks like you use it to make roguelike games.
<radiohead_fan>
yeah its for roguelikes
<radiohead_fan>
wanted to make a very small roguelike for this halloween
<no-defun-allowed>
I see.
saganman has quit [Ping timeout: 240 seconds]
cairn has joined #lisp
<radiohead_fan>
everything was going fine but when i was coding the part of the key input i found no way of making a key exit and close the window, ive even tried other methods (from various tutorials) and they just dont seem to work
dilated_dinosaur has quit [Quit: Leaving]
dilated_dinosaur has joined #lisp
davepdotorg has quit [Remote host closed the connection]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
jonatack has quit [Ping timeout: 258 seconds]
Dmytro[m] has joined #lisp
eriix[m] has joined #lisp
even4void[m] has joined #lisp
Gnuxie[m] has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
hansbauer[m] has joined #lisp
infra_red[m] has joined #lisp
katco has joined #lisp
kelamir[m] has joined #lisp
materialfuture[m has joined #lisp
kinope has joined #lisp
MrtnDk[m] has joined #lisp
pcgme[m] has joined #lisp
tekipeps[m] has joined #lisp
xzax_[m] has joined #lisp
ThaEwat has joined #lisp
santiagopim[m] has joined #lisp
fwoaroof[m] has joined #lisp
goldrin1227[m] has joined #lisp
santiagopim[m]1 has joined #lisp
xzax_[m]1 has joined #lisp
davepdotorg has joined #lisp
_whitelogger has joined #lisp
davepdotorg has joined #lisp
emacsomancer has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
radiohead_fan has joined #lisp
radiohead_fan has quit [Client Quit]
davepdotorg has quit [Read error: Connection reset by peer]
davepdot_ has joined #lisp
nopf has joined #lisp
voidlily has joined #lisp
axion has joined #lisp
davepdot_ has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
refpga has quit [Ping timeout: 272 seconds]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdot_ has joined #lisp
davepdot_ has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdot_ has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdot_ has quit [Read error: Connection reset by peer]
heisig has quit [Quit: Leaving]
mmohammadi981266 has joined #lisp
random-nick has joined #lisp
edgar-xyz has quit [Quit: Leaving]
edgar-rft has joined #lisp
saganman has joined #lisp
zacts has joined #lisp
rgherdt has joined #lisp
mmohammadi981266 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
refpga has joined #lisp
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
mmohammadi981266 has joined #lisp
catchme has joined #lisp
mmohammadi981266 has quit [Client Quit]
iissaacc has quit [Ping timeout: 264 seconds]
nicktick has joined #lisp
mmohammadi981266 has joined #lisp
refpga has quit [Ping timeout: 258 seconds]
refpga has joined #lisp
gxt has quit [Ping timeout: 240 seconds]
TwoNotes has joined #lisp
TwoNotes has left #lisp [#lisp]
gxt has joined #lisp
rgherdt has quit [Ping timeout: 240 seconds]
jonatack has joined #lisp
wsinatra has joined #lisp
Codaraxis_ has joined #lisp
Codaraxis has quit [Ping timeout: 265 seconds]
arpunk has joined #lisp
VincentVega has joined #lisp
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
Bourne has quit [Ping timeout: 256 seconds]
quazimod1 has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
ebrasca has quit [Read error: Connection reset by peer]
ebrasca has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
dbotton has joined #lisp
dbotton__ has quit [Ping timeout: 272 seconds]
Bike has joined #lisp
dbotton has quit [Ping timeout: 272 seconds]
dbotton_ has joined #lisp
gaqwas has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 256 seconds]
Bourne has joined #lisp
DGASAU` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
DGASAU has joined #lisp
quazimodo has joined #lisp
davepdotorg has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 264 seconds]
dbotton_ has quit [Read error: Connection reset by peer]
dbotton has joined #lisp
narimiran has quit [Ping timeout: 260 seconds]
refpga has quit [Ping timeout: 240 seconds]
refpga has joined #lisp
frost-lab has quit [Quit: Connection closed]
galex-713 has joined #lisp
aartaka has joined #lisp
dbotton_ has joined #lisp
dbotton has quit [Read error: Connection reset by peer]
motersen has quit [Ping timeout: 244 seconds]
davepdotorg has joined #lisp
edgar-rft has quit [Quit: Leaving]
davepdotorg has quit [Remote host closed the connection]
davepdotorg has joined #lisp
cosimone_ has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
davepdotorg has quit [Ping timeout: 260 seconds]
cosimone has joined #lisp
aartaka has joined #lisp
cosimone_ has quit [Ping timeout: 260 seconds]
Lycurgus has joined #lisp
aartaka has quit [Read error: Connection reset by peer]
bitmapper has quit [Quit: Connection closed for inactivity]
davepdotorg has joined #lisp
dbotton__ has joined #lisp
achilles has quit [Read error: Connection reset by peer]
achilles has joined #lisp
achilles has quit [Read error: Connection reset by peer]
achilles has joined #lisp
achilles has quit [Read error: Connection reset by peer]
achilles has joined #lisp
Lycurgus has quit [Quit: Exeunt]
EvW has quit [Ping timeout: 260 seconds]
skapata has joined #lisp
mindCrime has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
Guest68156 has quit [Ping timeout: 272 seconds]
ex_nihilo has quit [Quit: Leaving]
justache has quit [Remote host closed the connection]
bmansurov has joined #lisp
mindCrime has quit [Ping timeout: 240 seconds]
bmansurov is now known as Guest91236
justache has joined #lisp
Guest91236 has quit [Client Quit]
gxt has quit [Remote host closed the connection]
gxt has joined #lisp
quazimodo has quit [Ping timeout: 256 seconds]
VincentVega has quit [Remote host closed the connection]
quazimodo has joined #lisp
jonatack has quit [Quit: jonatack]
sword865 has quit [Quit: Connection closed for inactivity]
jonatack has joined #lisp
cosimone has quit [Quit: cosimone]
cosimone has joined #lisp
refpga has quit [Read error: Connection reset by peer]
refpga has joined #lisp
v3625_ is now known as v3625
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
random-nick has quit [Ping timeout: 240 seconds]
random-nick has joined #lisp
alxplorer has joined #lisp
notzmv has joined #lisp
alxplorer has quit [Remote host closed the connection]
bmansurov has joined #lisp
notzmv has quit [Remote host closed the connection]
kaftejiman has joined #lisp
bmansurov is now known as Guest32015
notzmv has joined #lisp
alxplorer has joined #lisp
davepdotorg has quit [Quit: Leaving...]
edgar-rft has joined #lisp
alxplorer has quit [Remote host closed the connection]
alxplorer has joined #lisp
alxplorer has quit [Remote host closed the connection]
dbotton__ has quit [Quit: Leaving]
sjl has quit [Quit: WeeChat 2.2-dev]
isBEKaml has joined #lisp
sjl has joined #lisp
dbotton has joined #lisp
dbotton_ has quit [Ping timeout: 256 seconds]
refpga has quit [Ping timeout: 260 seconds]
scymtym has quit [Ping timeout: 260 seconds]
achilles has quit [Remote host closed the connection]
catchme has quit [Quit: Connection closed for inactivity]
dbotton_ has joined #lisp
dbotton has quit [Read error: Connection reset by peer]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
refpga has joined #lisp
isBEKaml has quit [Ping timeout: 256 seconds]
isBEKaml has joined #lisp
alxplorer has joined #lisp
scymtym has joined #lisp
alxplorer has quit [Ping timeout: 272 seconds]
narimiran has joined #lisp
VincentVega has joined #lisp
mindCrime has joined #lisp
<VincentVega>
guys, any way to extract a range of bits from a fixnum?