Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

You have mail.


devel / comp.lang.prolog / i have a question ! :)

SubjectAuthor
o i have a question ! :)Omar Arharbi

1
i have a question ! :)

<d4d34819-e30f-459a-acaf-4e402997e1ban@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1211&group=comp.lang.prolog#1211

  copy link   Newsgroups: comp.lang.prolog
X-Received: by 2002:a0c:f70d:0:b0:441:4558:b70c with SMTP id w13-20020a0cf70d000000b004414558b70cmr2830312qvn.82.1648092772672;
Wed, 23 Mar 2022 20:32:52 -0700 (PDT)
X-Received: by 2002:a25:e30a:0:b0:625:3d53:91b7 with SMTP id
z10-20020a25e30a000000b006253d5391b7mr2903670ybd.499.1648092772485; Wed, 23
Mar 2022 20:32:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.prolog
Date: Wed, 23 Mar 2022 20:32:52 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=46.193.68.171; posting-account=f2XL4wkAAAC8otLqc_guheDpffiGzuiv
NNTP-Posting-Host: 46.193.68.171
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d4d34819-e30f-459a-acaf-4e402997e1ban@googlegroups.com>
Subject: i have a question ! :)
From: omararharbi77@gmail.com (Omar Arharbi)
Injection-Date: Thu, 24 Mar 2022 03:32:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 28
 by: Omar Arharbi - Thu, 24 Mar 2022 03:32 UTC

prod(
[[vin(110 , "Mercurey" , 1978 , 13) , vin(120 , "Macon" , 1977 , 12)] ,
[viticulteur("Nicolas","Pouilly","Bourgogne") ,viticulteur("Martin","Bordaux","Bordelais")]] ,R).

this predicat is returning a list =>
R = [[vin(110, "Mercurey", 1978, 13), viticulteur("Nicolas", "Pouilly", "Bourgogne")], [vin(110, "Mercurey", 1978, 13), viticulteur("Martin", "Bordaux", "Bordelais")], [vin(120, "Macon", 1977, 12), viticulteur("Nicolas", "Pouilly", "Bourgogne")], [vin(120, "Macon", 1977, 12), viticulteur("Martin", "Bordaux", "Bordelais")]].

the Question : i want to stock this list "R" in a variable on my programme ?
who can i do that ?

i tried : But i think it not working well !!
vin6(prod(
[[vin(110 , "Mercurey" , 1978 , 13) , vin(120 , "Macon" , 1977 , 12)] ,
[viticulteur("Nicolas","Pouilly","Bourgogne") ,viticulteur("Martin","Bordaux","Bordelais")]] ,R)).

what i want to do is just like :
list = [1 , 2 , 3] (in python)

Thank You :)

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor