Help needed on your soundex example

2018-06-02 Thread Arie van Wingerden
Hi Alex, just started on the "Soundex Matching" example here: http://pleac.sourceforge.net/pleac_picolisp/strings.html It looks like a nice program, however, it doen't state what kind of input it expects :) I know about soundex, but my current knowledge of PicoLisp is not yet advanced enough. P

Re: Wiki progress update ...

2018-06-02 Thread Alexander Burger
Hi Arie, > The first section of PLEAC (Strings) is now at about 76% ready. > ... > Some examples are rewritten a little, in order to make it easier for people > to just copy and paste the code to see what happens. > > I took great effort to verify each and every example. Pefect! Indeed a *lot* o

Re: Help needed on your soundex example

2018-06-02 Thread Alexander Burger
Hi Arie, > just started on the "Soundex Matching" example here: > http://pleac.sourceforge.net/pleac_picolisp/strings.html > > It looks like a nice program, however, it doen't state what kind of input > it expects :) Typically personal names, but can be any string: : (soundex "Hello World")

Re: Wiki progress update ...

2018-06-02 Thread Arie van Wingerden
Hi Alex, thx. for taking time to check!!! I corrected those points you mention. Thx. to you too :) Because I now just try to do this stuff fast, I only have a bit of time to look at functions in more detail. I really am impressed by the many useful functions. Also nice that strings and symbols

Re: Help needed on your soundex example

2018-06-02 Thread Arie van Wingerden
Hi Alex, ah, OK!! Well, then this might be a better show off: : (soundex "Smith") -> "S530" : (soundex "Smithe") -> "S530" : (soundex "Smyithe") -> "S530" because that shows what soundex is really about, don't you think?! Also, the soundex algorith is really dependent on the language used. E.g

Re: Help needed on your soundex example

2018-06-02 Thread Alexander Burger
Hi Arie, > Well, then this might be a better show off: > > : (soundex "Smith") > -> "S530" > : (soundex "Smithe") > -> "S530" > : (soundex "Smyithe") > -> "S530" > > because that shows what soundex is really about, don't you think?! Exactly. Mapping "similar" names to the same key. In German,

Re: Help needed on your soundex example

2018-06-02 Thread Arie van Wingerden
Hi Alex, since I notice that getpwent seems to disbehave under Windows WSL I'll leave the following out if you agree: (let (User (clip (in NIL (line T))) Code (soundex User)) (while (native "@" "getpwent" '(S S I I S S S)) # 'native' only in 64-bits (let Lst @ (when (or (= Code

Another question on PLEAC docs

2018-06-02 Thread Arie van Wingerden
Hi Alex, the results of the functions below do not reflect the common outcomes in math AFAICT. But maybe you had other intentions? E.G.: : (deg2rad 90) -> 2 Result 2 where I expected something like 1.5707963268. Any ideas? /Arie Doing Trigonometry in Degrees, not Radians #--

PicoLisp library docs

2018-06-02 Thread Arie van Wingerden
Hi, in the PLEAC docs there are a few references to functions in separate libraries. Are those library functions referenced somewhere on the web? With that I mean like this: https://software-lab.de/doc/ref.html#fun I'd like to have links to those if possible. If those reference do not exist, the

Re: Another question on PLEAC docs

2018-06-02 Thread Alexander Burger
On Sat, Jun 02, 2018 at 07:05:31PM +0200, Arie van Wingerden wrote: > the results of the functions below do not reflect the common outcomes in > math AFAICT. > > : (deg2rad 90) > -> 2 > > Result 2 where I expected something like 1.5707963268. You should try (deg2rad 90.0) :) ♪♫ Alex -- UNSUBS

Re: Help needed on your soundex example

2018-06-02 Thread Alexander Burger
Hi Arie, > since I notice that getpwent seems to disbehave under Windows WSL I'll > leave the following out if you agree: > > (let (User (clip (in NIL (line T))) Code (soundex User)) >(while (native "@" "getpwent" '(S S I I S S S)) # 'native' only in I see. 'getpwent' is Unix-specific. On

Re: PicoLisp library docs

2018-06-02 Thread Alexander Burger
Hi Arie, > in the PLEAC docs there are a few references to functions in separate > libraries. > > Are those library functions referenced somewhere on the web? I'm afraid they are not ... > If those reference do not exist, they maybe should be added I think. True ♪♫ Alex -- UNSUBSCRIBE: mail