newby question about lists

From: DEMAINE Benoit-Pierre (nntp_pipex_at_demaine.info)
Date: 10/27/04

  • Next message: Jan Wielemaker: "Re: newby question about lists"
    Date: Wed, 27 Oct 2004 04:12:44 +0100
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I have

    parent(mum,[ isa,jm]).

    in test_01.pl
    after consulting it, I hit:
    parent(mum,X).
    and get as expected :

    X = [isa, jm]

    How should I write the file so that asking the same question I get the
    answers :

    X = isa ;
    X = jm ;

    I still want to use lists in the file.

    I am using SWI-Prolog (Multi-threaded, Version 5.2.13)
    on Linux.

    ###

    How can I add knowledge in the DB using the CLI ?
    for example if the user consult the file, but want to add knowledge;
    - - how should he add information usable later in the same cession ?
    - - how to save the whole database into a new file for later use ?

    ###

    Is it possible in PROLOG to execute external file ? something like the C
    call 'system' or such ...

    ###

    Thanks
    - --
    DEMAINE Benoît-Pierre http:/www.demaine.info/
    \_o< apt-get remove ispell >o_/
    There're 10 types of people: those who can count in binary and those who
    can't
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFBfxIrGWSTLbOSw8IRAiasAKC0mdVvnXrzA/Au+0pm18lMZhezwwCeJ7X/
    cFTpn0fXwpKftVwW778j0ds=
    =pNoY
    -----END PGP SIGNATURE-----


  • Next message: Jan Wielemaker: "Re: newby question about lists"

    Relevant Pages

    • Re: What Would Cause ISA to Block GoogleBots?
      ... The good news is that the network has been performing flawlessly from the ... I hit refresh again and it loaded. ... Is it possible to un-install ISA and then re-install, ... web publishing rule in ISA you specify the host header for which requests ...
      (microsoft.public.isa)
    • Re: Please help me get hands around this issue...
      ... what do I need to do to be able to hit this external resource from behind the ISA f'wall? ... I've added an A record to our internal DNS and our DNS host has also added an A record. ... I still can't reach the site from behind the firewall. ...
      (microsoft.public.isa.configuration)
    • Re: Memory Issue: MSSQL$SBSMonitoring Process
      ... instructions for ISA 2004 for this? ... Jeff ... > Different commands though ... > go [hit enter] ...
      (microsoft.public.windows.server.sbs)
    • Proxy Chain Loop
      ... I have a SBS2000 Server with ISA, ... My web Outlook facility does not always work and is a ... little hit and miss. ...
      (microsoft.public.backoffice.smallbiz2000)
    • connection has abortively closed after one of the peers sent a RST
      ... I have an ISA 2004 server for the sole purpose of using SurfControl web ... If SOME users try to hit the Windows Update Website, ... I also captured these errors in my ISA Log Monitor while trying to hit ... Processing time: 0ms Original Client IP: 172.20.1.66 ...
      (microsoft.public.isaserver)