Re: Help on insert using delete



yeah its almost what i need

i just thought of inserting it once -

insert(a,[b,c,d],X).

X= [a,b,c,d]
no.

the point is to use this delete implementation
delete(_,[],[]).
delete(X,[X|L],M):-!,delete(X,­L,M).
delete(X,[Y|L1],[Y|L2]):-delet­e(X,L1,L2).

but i dont think its possible

.



Relevant Pages

  • Re: Xbox Live Trial Code
    ... not got a trial one but can sell you a 12 month one... ... > yeah but i dont have a code ... Prev by Date: ...
    (uk.games.video.xbox)
  • Re: I fixed cleaned and lubed my first watch
    ... yeah ut I dont' even know what movement to buy because I do not know ... Prev by Date: ...
    (alt.horology)
  • Re: Help on insert using delete
    ... > yeah its almost what i need ... > i just thought of inserting it once - ... The oposite of insert ONE element is remove ONE element. ... Prev by Date: ...
    (comp.lang.prolog)
  • Re: Xbox Live Trial Code
    ... yeah but i dont have a code ... > A friend tried a code that had expired on 31st April or something and ... Prev by Date: ...
    (uk.games.video.xbox)
  • Re: Severe weather warning UKMET
    ... > You dont count 19mm in an hour at Bexley as heavy then? ... Yeah but disruptive? ... Prev by Date: ...
    (uk.sci.weather)