Well, I'm glad someone got some use from it :)
The error *is* probably a permissions error.
Eddie
Search found 294 matches
- Fri Jun 12, 2009 12:34 pm
- Forum: newLISP in the real world
- Topic: calendar program
- Replies: 4
- Views: 3673
- Thu Jun 11, 2009 7:13 pm
- Forum: newLISP in the real world
- Topic: calendar program
- Replies: 4
- Views: 3673
- Thu Jun 11, 2009 5:24 pm
- Forum: newLISP in the real world
- Topic: calendar program
- Replies: 4
- Views: 3673
calendar program
Hello Lutz.
I once wrote a web calendar program an posted it on newlisp. I figured you had updated it so that it would run with newer versions of newlisp. I was wondering if you have an updated version? I need to modify it so that it will run on one of our httpd servers on a specified port.
Eddie
I once wrote a web calendar program an posted it on newlisp. I figured you had updated it so that it would run with newer versions of newlisp. I was wondering if you have an updated version? I need to modify it so that it will run on one of our httpd servers on a specified port.
Eddie
- Thu Jul 06, 2006 5:55 pm
- Forum: Anything else we might add?
- Topic: Fun with MAP
- Replies: 23
- Views: 30483
You might want to implement filter-map as well. There are a bunch of nice functions in the SRFI libraries like append-map and one that I was using quite often when collecting data for calculations. Note that I just copied this documentation from the DrScheme help desk. filter-map f clist1 clist2 ......
- Wed Jun 28, 2006 2:13 pm
- Forum: Anything else we might add?
- Topic: member and strings in 8.9
- Replies: 13
- Views: 10727
Hi cormullion. This is really a tough one in one sense, because NL doesn't have a character data type that would be an element of a string (list or array of characters). Membership should only be used to test to see if a character is in a string. We should be able to almost treat "" as {}. Of course...
- Wed Jun 28, 2006 1:16 pm
- Forum: Anything else we might add?
- Topic: member and strings in 8.9
- Replies: 13
- Views: 10727
As a mathematician I can definitely say two things are being confused here. substring should act like subset in sets, i.e. {a} is a subset of {a,b}. Also, {} is a subset of every set. member should act like set membership, i.e. a is a member of {a,b}. However, {a} is not a member of {a,b} and neithe...
- Thu Jan 26, 2006 1:59 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
Hi Nigel, Looks great! Strange that it lost the table of contents. commenting out \usepackage[T1]{fontenc} caused lots of error regarding \textquotedbl commenting out \usepackage{amsmath,amssymb,amsfonts,textcomp} causes errors re \textquotesingle. I'm not sure why they do it that way? Maybe to avoi...
- Thu Jan 26, 2006 1:14 am
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
I don't see any problems except that it is not loading the newcentury fonts. You can kill the \usepackage[ascii]{inputenc} and \usepackage[T1]{fontenc} if you wish. I even doubt wether you need the \usepackage{amsmath,amssymb,amsfonts,textcomp} since I don't think there's probably any serious math s...
- Wed Jan 25, 2006 5:34 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
- Wed Jan 25, 2006 1:37 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
Will Nigel's solution work Lutz? If it does I would like to make one suggestion. In the .tex file on the very next line after the \documentclass{article or whatever } put \usepackage{newcent} This will make the fonts much cleaner and enable you to copy and paste text from the manual (if you click th...
- Mon Jan 23, 2006 11:22 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
Editing a text file would be fine, as long as everything we do is with standard tools. I do not want add new dependencies, incompatibilities etc.. The current method using HTML and OpenOffcie at least works on all platforms. We will do it but is has to be simple. By all means! The standard tools wo...
- Mon Jan 23, 2006 5:49 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
Actually, what I was thinking: create a file called manual.txt. Run the script ./doc.lsp quickref.txt The output would be 3 files: "manual.html," "manual.pdf," and "qref.pdf." This might actually take a bit more thought? We would just use short commands in manual.txt .h 0 Introduction .p this is a p...
- Mon Jan 23, 2006 5:34 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
- Mon Jan 23, 2006 4:26 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
Actually a script to generate both the HTML version and a PDF file is what I would prefer doing. I'm doing something similar to this for the Factbook I generate here at the College. If I make this script, could we possibly generate two PDF documents instead of one (One for the main document and the ...
- Mon Jan 23, 2006 2:35 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
Nigel, I somewhat cheat on this. There is generally a package of macros to do about anything you want in LaTeX. I don't write that many macros (depends on the project). I just \usepackage{whatever} and use the commands from the manual provided. I also use LyX many times to get the main content in an...
- Thu Jan 19, 2006 3:47 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
- Thu Jan 19, 2006 1:09 pm
- Forum: newLISP newS
- Topic: development version newLISP 8.7.
- Replies: 34
- Views: 38728
- Mon Jan 16, 2006 3:02 pm
- Forum: Anything else we might add?
- Topic: Scheme: reduce & filter (please rate).
- Replies: 9
- Views: 12178
The "srfi" are standard libraries for scheme. For instance "1" is for extra list functionality. For example, (require (lib "string.ss" "srfi" "13")) will load a bunch of string functionality. Below are libraries included with mzscheme (drscheme). SRFI-1 list.ss 1 SRFI-2 and-let.ss 2 SRFI-4(*1) 4.ss ...
- Fri Jan 13, 2006 2:08 pm
- Forum: Anything else we might add?
- Topic: Scheme: reduce & filter (please rate).
- Replies: 9
- Views: 12178
netytan, Make sure at the top of the source you use all of (require (lib "list.ss" "srfi" "1")) because (require (lib "list.ss")) is a different package! I was a bit confussed the first time trying to include the functionality to. I found the code to reduce and reduce-right in the file "fold.ss" und...
- Thu Jan 12, 2006 1:54 pm
- Forum: Anything else we might add?
- Topic: Scheme: reduce & filter (please rate).
- Replies: 9
- Views: 12178
That is one gripe I have against scheme and what I do like about newLISP, the looonnnnggg definition names. For example, (string-append , (string-drop-right ,or (call-with-input-file , etc... It gets hard to read a long line strung out with intervening spaces, words, and white space. To make it read...
- Thu Jan 12, 2006 1:38 pm
- Forum: newLISP newS
- Topic: Where is 8.8
- Replies: 2
- Views: 4296
- Wed Jan 11, 2006 9:18 pm
- Forum: newLISP newS
- Topic: Where is 8.8
- Replies: 2
- Views: 4296
Where is 8.8
Lutz,
I see "next release version 8.8 February 10th, 2006" on the main Web page but I see not the download?
Eddie
I see "next release version 8.8 February 10th, 2006" on the main Web page but I see not the download?
Eddie
- Wed Jan 11, 2006 8:56 pm
- Forum: Anything else we might add?
- Topic: Scheme: reduce & filter (please rate).
- Replies: 9
- Views: 12178
If you are using drscheme, you can look into collects folder and find the scheme source code for filter, reduce, fold, foldr, unfold, zip, filter-map, etc,... When you get ready to write some serious code, I would use the libraries provided instead of rewriting them all. For Instance, (require (lib ...
- Tue Dec 06, 2005 8:45 pm
- Forum: Anything else we might add?
- Topic: Return multiple values from a function.
- Replies: 16
- Views: 16985
Since the digits are reverse order, try and change the order of the (if statements below the (cons
Just a guess! There is also a xcons (reverse cons) function in the "srfi 1" library.
Eddie
Code: Select all
(cons
(if (= number 1)
()
(positive-binary
...
Eddie
- Fri Nov 18, 2005 10:38 pm
- Forum: newLISP in the real world
- Topic: error with implicit indexing of strings
- Replies: 1
- Views: 2947
error with implicit indexing of strings
Code: Select all
(1 "ab") => "b" ;Correct
(1 "a") => "a" ;Incorrect
(rest "a") => ""