Help me with prolog
From: Char (coalchamber_at_NOPUBBLICITAinwind.it)
Date: 03/06/05
- Next message: Bart Demoen: "Re: Help me with prolog"
- Previous message: Jens Kilian: "Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in different Prologs)"
- Next in thread: Bart Demoen: "Re: Help me with prolog"
- Reply: Bart Demoen: "Re: Help me with prolog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 6 Mar 2005 10:02:17 +0100
Hi,
I am a student from university of Palermo (Italy) and I have some problem
with the prolog.
If I have a list of literal [a,b,c,d], how do I create a new list where I
add +4 (or - 4) ( or anotrher number) at the list of departure and I create
the list [e,f,g,h] ?
How I create a list of literal circular?
How I replace a list of literal with a number (ex: se I have the list
[a,b,c,d] and I want replace only some the atom ( a with 2, c with 5 and
leave b and d to their place)) ??
Thank you for the help.
Charles
- Next message: Bart Demoen: "Re: Help me with prolog"
- Previous message: Jens Kilian: "Re: List cons functor (was Re: The meaning of module overriding syntax mod:goal in different Prologs)"
- Next in thread: Bart Demoen: "Re: Help me with prolog"
- Reply: Bart Demoen: "Re: Help me with prolog"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|