In this case I simply use (arg 1), I just wanted to check if perhaps
(arg) defaulted to (arg 1) if no prior next had been called.
On Sat, Nov 12, 2016 at 7:45 AM, Alexander Burger wrote:
> Hi Henrik, Andreas,
>
>> I guess this is the unforgiving punishment for calling (arg) without
>> calling (ne
Dear list,
I take the opportunity of this first post to introduce myself as well as
the reasons for which I come here.
I am not a computer scientist nor a professional web developper but a
kind of "power user" who often gets its hands dirty to build some
applications as close as possible to
Hello,
Let's say that I have those two facts in a pilog database:
(be age (Paul 18))
(be age (Vincent 17))
I'm looking for the guy under 18 with this rule:
(be underage (@X)
(age @X @Y)
(< @Y 18))
If I ask (? (underage @X)) the result here is -> NIL where I expect to
get @X=Vincent.
If
Hello Eric! Thanks for the introduction. Welcome! Looking forward to
your questions!
On Sat, Nov 12, 2016 at 9:45 AM, CILz wrote:
> Dear list,
>
> I take the opportunity of this first post to introduce myself as well as the
> reasons for which I come here.
>
> I am not a computer scientist nor a
Hi Eric,
> Any way, I have it up an running on my linux box ... so expect me to ask
> very basic questions soon :)
Welcome! Please let us know how we can help.
As beneroth wrote in another mail today, it might be also a good idea to
visit the #picolisp IRC channel at freenode.net :)
♪♫ Alex
--
Untested, but what about using range/3 ?
http://software-lab.de/doc/refR.html#range/3
On Sat, Nov 12, 2016 at 9:59 AM, CILz wrote:
> Hello,
>
> Let's say that I have those two facts in a pilog database:
>
> (be age (Paul 18))
> (be age (Vincent 17))
>
> I'm looking for the guy under 18 with thi
Hi Eric,
> (be underage (@X)
> (age @X @Y)
> (< @Y 18))
'<' is a Lisp function and not a Pilog rule. To embed a Lisp expression
in Pilog, you must use the '^' operator. It causes the rest of the
expression to be taken as Lisp, and inside the Lisp code you can in turn
access Pilog-bindings wit
Hi Joe,
> Untested, but what about using range/3 ?
> http://software-lab.de/doc/refR.html#range/3
Thanks! However, range/3 is probably not useful here. It is a rather
specialized predicate for range checks in database queries.
♪♫ Alex
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsu
Thanks for this Joe. However I will need to investigate as I don't know
Picolisp enough yet. My purpose is first to translate Prolog queries to
Pilog in a Prologish/Pilogish way.
Le 12/11/2016 à 16:23, Joe Bogner a écrit :
Untested, but what about using range/3 ?
http://software-lab.de/doc/re
Good bye Kyle :-(
You are now unsubscribed
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi Alexander,
Thanks for this answer. It works nicely. I will take my time to
understand it thoroughly.
Best.
Le 12/11/2016 à 16:27, Alexander Burger a écrit :
Hi Eric,
(be underage (@X)
(age @X @Y)
(< @Y 18))
'<' is a Lisp function and not a Pilog rule. To embed a Lisp expression
11 matches
Mail list logo