How can I implement conc with difference list?
- From: "onghwan" <onghwan@xxxxxxxxx>
- Date: 18 Apr 2006 08:30:52 -0700
Hi all,
I am learning prolog now, and i want to implement conc with difference
list,
actually, using concat(concatenation using difference list).
concat(A1-Z1, Z1-Z2, A1-Z2).
and conc is like this.(as you know)
conc(L1,L2,L3).
I want to implements conc with concat, and vice versa.
like this :
conc([X|L1],L2,[X1|L3]) :-
concat(....).
and also,
concat(A1-Z1, Z1-Z2, A1-Z2) :-
conc(......).
please, Help me!
thanx, all.
.
- Follow-Ups:
- Re: How can I implement conc with difference list?
- From: russell kym horsell
- Re: How can I implement conc with difference list?
- Prev by Date: Re: help with "open/3"
- Next by Date: Re: Speed Up Sudoku Solver
- Previous by thread: What's up with Visual Prolog?
- Next by thread: Re: How can I implement conc with difference list?
- Index(es):
Relevant Pages
|
|