Search Results

Showing results 1 to 6 of 6
Search took 0.01 seconds.
Search: Posts Made By: Harleqin
Forum: Legacy and Other Languages Sep 14th, 2009
Replies: 2
Views: 670
Posted By Harleqin
So, this "nonlat?" is a function that takes one parameter, which is named "list" internally. It returns the result of calling "null?" on that parameter, i.e. the list. Of course, to do that, you...
Forum: Windows Software Jun 6th, 2009
Replies: 4
Solved: for loop
Views: 451
Posted By Harleqin
That is only a partial answer, as I still don't know the format. If you can take it in as a stream (as the possibility of added data over time suggests), you can store the values successively in a...
Forum: Windows Software Jun 4th, 2009
Replies: 4
Solved: for loop
Views: 451
Posted By Harleqin
How are the data stored? What language do you use?
Forum: Legacy and Other Languages Jun 2nd, 2009
Replies: 2
Views: 1,107
Posted By Harleqin
I use SBCL with SLIME in Emacs, and I think that it's a nice setup to start with.

There is also LispWorks Personal Edition, which is free for personal use, but has some "nagging" limitations. ...
Forum: Legacy and Other Languages Jun 2nd, 2009
Replies: 7
Views: 1,629
Posted By Harleqin
I believe that (split '(2 3 4 6) 4) should return ((2 3) (4 6)), according to the specification.



OK, first a little cleanup: having an (else (cond ;... clause in a cond form is not sensible;...
Forum: Legacy and Other Languages Jun 2nd, 2009
Replies: 7
Views: 2,019
Posted By Harleqin
I would do this with two mutually recursive functions:


(define (list-next? ls)
(cond ((null? ls) #t)
((list? (car ls))
(atom-next? (cdr ls)))
(#t #f)))

(define...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC