freenode/#lisp - IRC Chatlog
Search
12:11:07
cuso4
I want to define a scalar product with the following syntax (a . b), as it is often written on paper in the physics world.
12:15:59
cuso4
Also I know it would be much easier to write something like (. a b). But at the same time I thought it would be a fun excercise to make the notation (a . b).
12:24:25
jmercouris
also the difference between wirting (. a b) and (a . b) will not be significantly more challenging
12:25:15
flip214
jmercouris: that's a big difference. (¸ a b) needs nothing, (a ¸ b) at least an enclosing macro (or read-macro etc.)
12:26:15
cuso4
But anyway, I am looking more for what I sould google for to find examples of similar things
12:30:19
jmercouris
pointing you to specific concepts could help you solve this problem, but I think you should just learn about the language, and you'll figure out how to solve this problem relatively quickly
12:36:56
minion
cuso4: direct your attention towards pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
12:37:46
cuso4
I know of that book, but I have an hour till I have to get back to studying and thought this would be a small and fun project.
12:40:24
jackdaniel
I think that you won't grok macros over the week (especially with this attitude), but I wish you that I'm mistaken
12:42:59
cuso4
Oh, I didn't mean that it is a bad book and that I am not planning to read it. It is just that I have exams this week.
12:43:36
jackdaniel
I'm not suggesting you say that, just noticing that you don't have time / you are reluctant to look in the literature
12:45:04
jackdaniel
add above statements and you end up with lack of the subject understanding on your exam
12:48:51
bnntt
Just wondering if anyone can recommend a good book for learning common lisp? I'm a CS student and want to learn it in my spare time
12:49:23
minion
bnntt: look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
13:02:20
pjb
cuso4: (. a b) is not valid syntax. You would have to write (\. a b) or (|.| a b) ; once you escape the symbol named ".", you can also use it in infix position of you would like: (a \. b).
13:03:27
pjb
cuso4: alternatively, you can define a reader macro, for example, $ that would parse a LaTeX expression. $ a \cdot b $ --> (cdot a b)
19:45:05
phoe
Xach: I suggest you ask on the elsconf mailing list. If any place is established, it'll be established there.
20:27:09
Shinmera
jmercouris: Well, the "Colleen project". Colleen the bot here is currently running on Maiden: http://shirakumo.github.io/maiden/
20:29:56
Shinmera
Xach: I didn't find anything that was close, cheap, and a large hotel, which is a departure from previous years. Having a lispers hotel was quite nice.
21:24:55
jmercouris
Shinmera: what about is outdated? what's the new project? has IRC somehow changed making the framework not working?
21:25:31
jmercouris
let's try that again: "What about it is outdated? What's the new project? Has IRC somehow changed making the framework invalidated?
21:26:39
jackdaniel
outdated as in: author came up with something new (probably better) and lost interest in the predecessor
21:31:58
Shinmera
jmercouris: Colleen is broken and badly designed in several respects that aren't directly related to IRC.
21:32:15
Shinmera
jmercouris: Maiden is both more sensible and a lot more ambitious in what it tries to do.
23:15:06
rumbler31
and maybe this is a dumb question, but is IOlib, the CL library, a cffi wrapper for the c library? or a rewrite?
23:15:07
Xach
rumbler31: iolib, the lisp library, has a C component called libfixposix. Is that what you mean, or something else?
23:15:27
rumbler31
well i'm not sure what I mean, I was under the impression that there was a c iolib
23:16:43
rumbler31
a friend is looking to build a product for which I thought iolib would be a good use case