freenode/#lisp - IRC Chatlog
Search
9:40:05
jmercouris
loke: a good point, it would take me a few seconds to realize what is going on but yes
9:40:38
specbot
Tilde Newline: Ignored Newline: http://www.lispworks.com/reference/HyperSpec/Body/22_cic.htm
9:44:53
loke
~newline ignores newline and indentation. ~@newline ignores the indentation but keeps the newline
10:42:58
loke
Reader macros are really cool and all, but I have to admit I've never used them for effect.
11:55:09
pjb
minion: memo for jmercouris: I would say that it depends on how many such strings you have in your sources. If only one or two #.(format …) will be ok. Otherwise the specific reader macro is indicated. You can use another character than #\", eg. #\« … #\» or #\[ #\]
12:32:18
flip768
and why is (typep nil 'tuple) T? Perhaps as by the definition above, but I wouldn't see an empty list as an (explicit!) tuple.
12:37:04
Xach
flip768: from the type definition, it looks like typep checks of tuple *require* specifying the types of each element.
12:38:10
flip768
Xach: yeah, possibly. my expectation would have been that a(n unspecified) tuple doesn't match NIL.
13:04:57
flip768
Is there a ITERATE clause that binds to multiple elements of a vector? Like (for (values a b c) = (...) ) binds to the three return values?
14:03:58
pfdietz
Reader macros are something you want to use sparingly, as there's just a single "namespace" they can fit in. If you use them, use named readtables.
14:06:33
dlowe
You could theoretically use unnamed readtables too, if you wanted a life of suffering
15:48:57
_death
Xach: https://github.com/yakovzaytsev/screamer-plus though I also patched it to use sb-mop instead of c2mop, likely because it uses an internal symbol there
18:23:12
dmiles
might it be able to be more delcarative like? https://github.com/TeamSPoon/logicmoo_base/blob/master/t/examples/fol/zebra_01.clif
18:27:56
dmiles
well i get tired of seeing myself look at filke dates on code projects as if the date was somehow realivant... so i did that as a joke upon that line of thinking
18:33:43
dmiles
ACTION considered http://nikodemus.github.io/screamer/einstein.lisp.html slightly "too" hand crafted
21:37:59
afiddegnum
hello, i read over and lover lisp macros, can any one explain in a simpler way about them and when to use themn? so far i understand, macros creates executable functions, right ?