Re: Wacky stuff with circular lists, Was:The many uses of @

2011-11-10 Thread Henrik Sarvell
Why don't you guys make a wiki page out of this one too? On Wed, Nov 9, 2011 at 6:54 AM, Thorsten wrote: > José Romero > writes: > >>> >   (and 5 . ((prinl @) (gt0 (dec @)) .)) > >> If it helps, this is how that S-expression should look in memory, I >> omitted the technically correct representa

How to get the signature of function and method definitions

2011-11-10 Thread Thorsten
Hi list, I remember that Alex recently mentioned a method how to get the signature of any function or method definition loaded in the system. Unfortunately, I could not find the related post again. Any hints where I have to look would be appreciated. cheers -- Thorsten -- UNSUBSCRIBE: mail

Re: How to get the signature of function and method definitions

2011-11-10 Thread Henrik Sarvell
I don't know if this is exactly what you want but (all) can be used to inspect stuff, an example of getting all loaded classes: (de getClasses () (filter '((S) (and (= `(char "+") (char S)) (type S))) (all))) On Thu, Nov 10, 2011 at 7:27 PM, Thorsten

Re: Wacky stuff with circular lists, Was:The many uses of @

2011-11-10 Thread Alexander Burger
On Thu, Nov 10, 2011 at 07:14:06PM +0700, Henrik Sarvell wrote: > Why don't you guys make a wiki page out of this one too? Well, José mumbled in IRC something in that direction ... ;-) -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: How to get the signature of function and method definitions

2011-11-10 Thread Alexander Burger
Hi Thorsten, > I remember that Alex recently mentioned a method how to get the > signature of any function or method definition loaded in the system. I'm not completely sure what you mean with signature in this context. You can inspect a function by pretty-printing, : (pp 'insert) (de in

Re: Wacky stuff with circular lists, Was:The many uses of @

2011-11-10 Thread Alexander Burger
Hi Thorsten, > And now I'm listed as the author of this wiki page, but it should > actually be Jose. Maybe he can make a little change to the page, so > that his name appears too? BTW, there is of course an "illegal" way to change it, by going to the maintenance GUI, clicking on "Documents", then

Does 'doc' require Global Installation?

2011-11-10 Thread Jon Kleiser
Hi, I tried this (using PicoLisp 3.0.7.3 C on my Mac): (doc '+ "cat") and got this: cat: file:doc/ref_.html#+: No such file or directory Does this mean that the 'doc' function requires "global installation" of PicoLisp? /Jon -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: How to get the signature of function and method definitions

2011-11-10 Thread Thorsten
Henrik Sarvell writes: > I don't know if this is exactly what you want but (all) can be used to > inspect stuff, an example of getting all loaded classes: > > (de getClasses () > > (filter > '((S) > (and > (= `(char "+") (char S)) > (type S))) > (all))

Re: Wacky stuff with circular lists, Was:The many uses of @

2011-11-10 Thread Thorsten
Alexander Burger writes: > Hi Thorsten, > >> And now I'm listed as the author of this wiki page, but it should >> actually be Jose. Maybe he can make a little change to the page, so >> that his name appears too? > > BTW, there is of course an "illegal" way to change it, by going to the > maintena

Re: Does 'doc' require Global Installation?

2011-11-10 Thread Alexander Burger
Hi Jon, > I tried this (using PicoLisp 3.0.7.3 C on my Mac): > (doc '+ "cat") > and got this: > cat: file:doc/ref_.html#+: No such file or directory > > Does this mean that the 'doc' function requires "global installation" of > PicoLisp? No, the installation can be global or local, it will alway

Re: How to get the signature of function and method definitions

2011-11-10 Thread Thorsten
Alexander Burger writes: Hi Alex, >> I remember that Alex recently mentioned a method how to get the >> signature of any function or method definition loaded in the system. > > I'm not completely sure what you mean with signature in this context. > > > You can inspect a function by pretty-printi

Re: How to get the signature of function and method definitions

2011-11-10 Thread Alexander Burger
Hi Thorsten, > > by looking at it with an editor (sorry, only 'vim' at the moment), > > > >: (vi 'insert) > > that was another question of mine - what would it take to get a > > , > | (emacs 'insert) > ` > > function, and a > > ,--- > | (edit 'i

Re: How to get the signature of function and method definitions

2011-11-10 Thread Thorsten
Alexander Burger writes: Hi Alex, >> > by looking at it with an editor (sorry, only 'vim' at the moment), >> > >> >: (vi 'insert) >> >> that was another question of mine - what would it take to get a >> >> , >> | (emacs 'insert) >> ` >> >> function, and a

Re: How to get the signature of function and method definitions

2011-11-10 Thread Alexander Burger
Hi Thorsten, > > By default, 'doc' simply calls the 'w3m' browser (if neither a browser > > is in the environment variable BROWSER, nor one was passed as a second > > argument to 'doc'). > > I do use w3m and w3m-mode for emacs, and now I exported a new > environment variable BROWSER=w3m - and w3m