Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sarte
  • Order by date
  1. sarte

    Add an element in a list

    Argh, I'm stupid^^ It was so easy. Just "add(A,B,[A|B]).
  2. sarte

    Add an element in a list

    Hi, I want to add an element in the head of a list, for instance: add(a,[b,c],N). N= [a,b,c]. But I'm too stupid, I don't know how to start with the easy case, when the list is empty. I thought of add(A,[],[A]). I think it is wrong, because at the end of a recursive list A will stand at the...

Part and Inventory Search

Back
Top