Forum: Legacy and Other Languages Sep 14th, 2009 |
| Replies: 2 Views: 670 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 Views: 451 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 Views: 451 How are the data stored? What language do you use? |
Forum: Legacy and Other Languages Jun 2nd, 2009 |
| Replies: 2 Views: 1,107 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 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 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... |