Search
Wednesday, 13th of December 2017, 22:10:46 UTC
22:11:17
aeth
You probably want to string-upcase it
22:11:27
ahungry
(setq |a| 1) (setq a 2) (symbol-value (intern "a")) => 1, (symbol-value (intern "A")) => 2
22:11:29
u0_a166
(make-symbol "Hello,World!")
22:14:48
aeth
What I do for things like this is #.(symbol-name '#:whatever-the-prefix-is-) because technically you can change how the reader case works to not upcase things. So this makes it into an upper case string at read time through the otherwise not very useful #. read eval feature
22:17:20
Fare
Xach: OK, I believe the build of influxdb is confused because cl-graph declares an absent file index.md, and this causes ASDF to think its build is incomplete
22:20:10
aeth
#.(symbol-name '#:whatever-the-prefix-is-) => "WHATEVER-THE-PREFIX-IS-" or "whatever-the-prefix-is-" depending on the readtable case
22:20:57
aeth
e.g. (let ((*readtable* (copy-readtable *readtable*))) (setf (readtable-case *readtable*) :preserve) (format t "~A~%" (read-from-string "hello")))
22:22:09
aeth
although, actually, that wouldn't help if they rebind the readtable like in that example, it would have to happen before the file is read, afaik
22:30:50
pjb
ealfonso: (SETF (READTABLE-CASE *READTABLE*) :PRESERVE *PRINT-CASE* :UPCASE)
22:31:27
pjb
ealfonso: you may also try :INVERT instead of :PRESERVE, but it works only for symbols not having mixed case characters.
23:22:55
Fare
Xach: it looks like badly named secondary systems for in defsystem-connection might be to blame.
2:36:25
attila_lendvai
** NICK Guest28583
3:29:42
beach
Good morning everyone!
7:10:20
poorbean
hi I'm new in lisp, but python in mit is very bad to me. C beginning book is better, but I don't know which book is good? Thanks
7:11:22
beach
Wrong channel. This channel is dedicated to Common Lisp.
7:15:20
poorbean
Hi beach can you help me, I'm Chinese. But I don't know the good book in begin when someone to competition?
7:15:38
Shinmera
I wonder why it happens so often that scheme people tumble in here when there's literally a channel called #scheme.
7:16:11
beach
poorbean: Like I said, this channel is dedicated to Common Lisp. If you want help with Common Lisp books, this is the right place to ask.
7:16:26
beach
poorbean: But if you want advice about Scheme books, you are better off asking in #scheme.
7:16:28
hajovonta
poorbean: scheme is different than Common Lisp
7:16:56
hajovonta
it's another lisp dialect
7:17:52
hajovonta
how would you explain it to a beginner?
7:19:07
beach
What Scheme is? A programming language that is not Common Lisp.
7:21:31
jackdaniel
well, many people include scheme in Lisp language family.
7:21:56
Zhivago
It should rather be that Common Lisp is in the Scheme family, sort of.
7:22:20
Zhivago
Since that's where it got its lexical scoping from.
7:22:27
jackdaniel
yes, that's why definite answer, that it is not lisp is not entirely fair
7:22:43
Zhivago
I think the claim was that it is not Common Lisp.
7:22:57
jackdaniel
it is not common lisp of course
7:23:01
jackdaniel
maybe I did read it wrong
7:23:04
beach
jackdaniel: I was merely pointing out that whether this or that language is "a Lisp" is not something that is widely agreed upon.
7:23:09
Zhivago
Personally, I'd rather common lisp staked out #commonlisp or something.
7:23:58
beach
Sorry, my fault. Let's drop it.
7:24:43
Zhivago
It's not like lisp is so incredibly popular that we need to be so exclusive. :)
7:38:38
Fare
poorbean, Scheme books for beginners include How to Design Programs, The Little Schemer.
8:35:50
ambisinistrous
** NICK nalkri
Thursday, 14th of December 2017, 10:10:46 UTC