Re: Function similar to Scheme 'foldl'?

2018-10-09 Thread Johann-Tobias Schäg
> > > It is quite inefficient, as it needs to build a new list of > all > > > arguments on > > > each call: > > Well i see ways how it could be speed up it up in assembly but only by > > adding > > lots of complexity. > Yes. I'm afraid it needs very much complexity! > Interestingly, 'foldr'

Re: Function similar to Scheme 'foldl'?

2018-10-09 Thread Johann-Tobias Schäg
> It is quite inefficient, as it needs to build a new list of > all arguments on > each call: Well i see ways how it could be speed up it up in assembly but only by adding lots of complexity.    (conc (rest) (cons I)) > and it has no advantage over a direct inline > expression of what it does

Re: Embedding and such

2018-09-12 Thread Johann-Tobias Schäg
If i recall and have understand Alex correctly there is no way to call all of PicoLisp from C. The only way i know is the lisp function (doc 'lisp). But that limits you to 5 numeric arguments and less 24 of those. If anybody knows better. I'd like to be wrong. Sincerely freemint  

Re: Server-Sent Events

2018-08-05 Thread Johann-Tobias Schäg
Cool, a remote shell over http.   Ursprüngliche Nachricht   Von: a...@software-lab.de Gesendet: 5. August 2018 2:02 nachm. An: picolisp@software-lab.de Antworten: picolisp@software-lab.de Betreff: Server-Sent Events Hi all, a new article explaining how to use Server-Sent Events in PicoLisp:   

Re: test message

2018-08-03 Thread Johann-Tobias Schäg
Pong

Re: Irc channel attacked

2018-08-01 Thread Johann-Tobias Schäg
More information here: https://freenode.net/news/spambot-attack   Ursprüngliche Nachricht   Von: johtob...@gmail.com Gesendet: 1. August 2018 2:20 nachm. An: picolisp@software-lab.de Betreff: Re: Irc channel attacked It is not #picolisp but freenode which is under attack. Many channels saw

Re: Irc channel attacked

2018-08-01 Thread Johann-Tobias Schäg
It is not #picolisp but freenode which is under attack. Many channels saw these bots.   Ursprüngliche Nachricht   Von: tankf33...@disroot.org Gesendet: 1. August 2018 2:11 nachm. An: picolisp@software-lab.de Antworten: picolisp@software-lab.de Betreff: Irc channel attacked Hi all, Irc channel

Re: Repeated call to fill out the survey on changing the Wiki

2018-07-07 Thread Johann-Tobias Schäg
:07PM +0200, Johann-Tobias Schäg wrote: > i find your active pushing of this survey very uncommon in this community. I > think 20 people are much. Well, depends ... this list currently has 193 members. —Alex -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe PԔ � )

Re: address sanitize

2018-07-05 Thread Johann-Tobias Schäg
Correctness of? correct in what regards?   Ursprüngliche Nachricht   Von: tankf33...@disroot.org Gesendet: 5. Juli 2018 8:59 vorm. An: picolisp@software-lab.de Antworten: picolisp@software-lab.de Betreff: Re: address sanitize > > why would we want address sanitation? Because i wanted check

Re: Pilog unification of a nested predicate

2018-07-02 Thread Johann-Tobias Schäg
It would be interesting to see the complete code. with All definitions.

Re: A query in Pilog

2018-07-01 Thread Johann-Tobias Schäg
ment to (prove (goal PList)).Is there a way to do that using only the "?" function, or must it always be wrapped by the (prove (goal )) combo?On Sun, Jul 1, 2018 at 6:05 PM Johann-Tobias Schäg <johtob...@gmail.com> wrote: I've got it working the following way. It is very inelegant but it

Re: A query in Pilog

2018-07-01 Thread Johann-Tobias Schäg
I've got it working the following way. It is very inelegant but it shows the idea. (be woman (Ann))#-> woman(prove (goal (woman @X))) # wrong#!? (woman @X)#woman -- Undefined(prove (goal '((woman @X #quoted list can contain multiple statements#-> ((@X . Ann))(be loves (Mark Ann))#-> loves(be

Re: Screenshot of local Wiki

2018-06-23 Thread Johann-Tobias Schäg

Re: link to the irc chat

2018-06-18 Thread Johann-Tobias Schäg
Correction:webchat.freenode.netBut i agree that most people using Picolisp can be expected to open an IRC. But most people who do not use PicoLisp can't be expected to an IRC.since the wiki is primarily to help PicoLispers to share experiences and knowledge, let's just use irc://

Re: link to the irc chat

2018-06-18 Thread Johann-Tobias Schäg
This Link works for me in Firefox who has an irc client installed. But in general i unsure whether the irc should redirect to a web client or not. (Webschat.freenode.net)   Ursprüngliche Nachricht   Von: brandel...@gmail.com Gesendet: 18. Juni 2018 3:29 nachm. An: picolisp@software-lab.de

Re: Stuck at PLEAC example

2018-06-10 Thread Johann-Tobias Schäg
: (put emp1 'category 'engineer)-> engineer: (setq Employees '(emp1 emp2 emp3 emp4 emp5))-> (emp1 emp2 emp3 emp4 emp5): (get emp1 'category)-> engineer: (car

Re: Stuck at PLEAC example

2018-06-10 Thread Johann-Tobias Schäg
ok:: (put emp1 'category 'engineer)-> engineer: (get emp1 'category)-> engineerAlso this works:: (with emp1     (prinl (: category)))engineer-> engineerBest,   Arie2018-06-10 16:14 GMT+02:00 Johann-Tobias Schäg <johtob...@gmail.com>: The first problem is that all your employee

Re: Stuck at PLEAC example

2018-06-10 Thread Johann-Tobias Schäg
should be: (get emp1 'name)In my examples this works ok:: (put emp1 'category 'engineer)-> engineer: (get emp1 'category)-> engineerAlso this works:: (with emp1     (prinl (: category)))engineer-> engineerBest,   Arie2018-06-10 16:14 GMT+02:00 Johann-Tobias Schäg <johtob...@gmail.com>: Th

Re: Stuck at PLEAC example

2018-06-10 Thread Johann-Tobias Schäg
The first problem is that all your employees have no 'name property. ( get 'name emp1) -> NILBut emp1 -> "Abel"But there is something else rotten. I can not spot. But try to get (with 'emp1 (prinl (: name))) running firstRegarding your 'This question:  https://software-lab.de/doc/refT.html#This

Re: Subscribe

2018-05-20 Thread Johann-Tobias Schäg
You are welcome.It is great for digging.