Search found 12 matches

by kroger
Mon Jun 08, 2009 2:46 pm
Forum: The Lounge
Topic: RSS feed
Replies: 25
Views: 44578

Re: RSS feed

Well, I really want to have rss on lispforum (I always miss discussions because I don't check the webpage often). How can I help you with that? I can install phpBB here, try the different plugins and send you a recipe of how to install the best one. Do you think that would be helpful?
by kroger
Tue Jun 02, 2009 12:41 am
Forum: Common Lisp
Topic: Combining digits to make a string
Replies: 18
Views: 21588

Re: Combining digits to make a string

miningold wrote: I was thinking about these options:

((013) (201)...)
((0 1 3) (2 0 1)...)
or an array (which I do not know how to make)
you can use an array (or a vector):

(vector 0 1 3) => #(0 1 3)

see more about it here:
http://gigamonkeys.com/book/collections.html

Pedro
by kroger
Mon Nov 10, 2008 9:00 am
Forum: Common Lisp
Topic: Is there any Library for Feed-Parsing
Replies: 6
Views: 9901

Re: Is there any Library for Feed-Parsing

I'm sure there is something out there, but why not use one of the many xml parsers for lisp?

http://wiki.alu.org/XML_Parser_Libraries

you can use drakma to download the feeds.

pedro
by kroger
Wed Oct 29, 2008 4:56 pm
Forum: Common Lisp
Topic: Lisp and Regex
Replies: 7
Views: 14835

Re: Lisp and Regex

you can use cl-ppcre, a portable regexp library for lisp:

http://www.weitz.de/cl-ppcre/
by kroger
Sat Oct 25, 2008 4:54 am
Forum: Common Lisp
Topic: How can I rewrite the function APPLY without using APPLY?
Replies: 12
Views: 26526

Re: How can I rewrite the function APPLY without using APPLY?

Thanks for the reply. Perhaps this is too academic for the part of the CL community represented here? I don't think it was too academic. it was not clear to me if you want to understand how apply is defined, to reduce the items in a vector or something else. I wanted to know if APPLY is some kind o...
by kroger
Sat Oct 25, 2008 4:49 am
Forum: Common Lisp
Topic: How can I rewrite the function APPLY without using APPLY?
Replies: 12
Views: 26526

Re: How can I rewrite the function APPLY without using APPLY?

I had a quick look at the SBCL source and found apply in eval.lisp , line 279 - search for "defun apply". :) Although I don't understand how it can terminate :D It seems to recurse in every case? that's the apply from my version of sbcl (version 1.0.21.11), the part after the t terminates...
by kroger
Fri Oct 24, 2008 11:03 am
Forum: The Lounge
Topic: RSS feed
Replies: 25
Views: 44578

Re: RSS feed

by kroger
Fri Oct 24, 2008 10:57 am
Forum: Common Lisp
Topic: How can I rewrite the function APPLY without using APPLY?
Replies: 12
Views: 26526

Re: How can I rewrite the function APPLY without using APPLY?

Put another way, how could someone write an APPLY-TO-VECTOR function? This would work something like this: (apply-to-vector #'+ (vector 1 2 3 4)) ==> 10 Well it depends on you *really* want. If you just want to do stuff like your example, reduce works with sequences (including vectors): (reduce #'+...
by kroger
Tue Sep 02, 2008 4:15 pm
Forum: User Groups and Conferences
Topic: Looking for Lisp users/usergroups in Portugal
Replies: 6
Views: 17016

Re: Looking for Lisp users/usergroups in Portugal

You guys are more than welcome to participate in the lisp-br mailing list:

http://lisp-br.org

Although the name says "Brazilian lisp group", I think it would be very cool to have people from other countries as well.

Pedro Kroger
by kroger
Sat Aug 02, 2008 3:53 pm
Forum: User Groups and Conferences
Topic: International Lisp Conference 2009
Replies: 3
Views: 11552

Re: International Lisp Conference 2009

I am very exited about this conference, I can't wait. (I'll go no matter what :-))