Search found 447 matches

by findinglisp
Thu Nov 11, 2010 7:51 pm
Forum: Common Lisp
Topic: moving an element of a list to another list
Replies: 13
Views: 11357

Re: moving an element of a list to another list

The 'a' stands for anamorphic. Paul Graham's 'On Lisp' has it (and anamorphic if, cond, etc), but I think the technique is older than that still. PG also has the definition of 'with-gensyms'. I won't go into details since PG explains it in that book, which is freely available as a downloadable pdf ...
by findinglisp
Tue Oct 19, 2010 7:22 pm
Forum: Common Lisp
Topic: Basic Function Help
Replies: 3
Views: 4156

Re: Basic Function Help

See also REDUCE.
by findinglisp
Tue Oct 19, 2010 7:17 pm
Forum: Common Lisp
Topic: convert a string of numbers to array of numbers?
Replies: 4
Views: 6247

Re: convert a string of numbers to array of numbers?

I looked at other people's code and I can't understand why their code is so long just to parse a csv file. The CSV format is described by RFC4180 . It is not quite that trivial in general case. Also, you have to spend some code on parsing the values themselves. Lisp reader, which is what READ-FROM-...
by findinglisp
Tue Oct 19, 2010 6:17 am
Forum: Common Lisp
Topic: FAQ
Replies: 4
Views: 76130

Re: FAQ

Promoted this to an Announcement.
by findinglisp
Mon Oct 11, 2010 4:26 pm
Forum: Common Lisp
Topic: Financial functions?
Replies: 1
Views: 3077

Financial functions?

Anybody know of or have a good library of financial functions? I'm looking for things like NPV, FV, loan payments, etc? I Googled but didn't get much joy.
by findinglisp
Mon Sep 27, 2010 4:54 pm
Forum: Common Lisp
Topic: [ANN] Apache Common Lisp module
Replies: 1
Views: 3079

Re: [ANN] Apache Common Lisp module

Very cool. I have been waiting for somebody to do this, thinking myself that ECL would be a great starting point.
by findinglisp
Mon Sep 27, 2010 4:51 pm
Forum: Common Lisp
Topic: Apparent vandalism on Cliki
Replies: 1
Views: 3778

Re: Apparent vandalism on Cliki

Yes, CLiki has had this problem for quite a while. Unfortunately, it suffers from the curse of so much software: people wanted to reimplement the wheel in their favorite language for no good reason. There are far better wiki packages with more features (such as anti-spam/vandalism); they just don't ...
by findinglisp
Sun Sep 19, 2010 6:16 am
Forum: Common Lisp
Topic: Simple polymorphism in Common Lisp
Replies: 12
Views: 21681

Re: Simple polymorphism in Common Lisp

Paul Graham never really liked Common Lisp as such, which means that style used in his books is rather idiosyncratic . And it is telling that his language is rather Scheme like and based of Scheme. I agree that functional style is elegant and usually useful, but there are certain problem domains wh...
by findinglisp
Thu Sep 16, 2010 8:19 pm
Forum: The Lounge
Topic: Question about parentheses
Replies: 27
Views: 55059

Re: Question about parentheses

Since I've posted I've discovered Racket which has "{" and "[" all equivalent to "(". Which is nice because I can use either at the same time so it allows me to organize my code more. Personally, this is a nightmare for me. When editing, you're bound to get something u...
by findinglisp
Tue Sep 14, 2010 4:39 pm
Forum: Scheme
Topic: Threads
Replies: 1
Views: 7803

Re: Threads

Scheme doesn't have a standard threading mechanism. I think they're looking at creating one for a follow-on standard (R7RS?).