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: *

  1. zoharetzioni

    Prolog lists question

    I have a solution for an instance of langford's numbers problem, and I want to generalize it, but I'm lacking some prolog tools. For n=3 and k=2 I would write a predicate as following: sequence([_,_,_,_,_,_]). solve(L):- sequence(L), sublist([3,_,_,_,3],L), sublist([2,_,_,2],L)...

Part and Inventory Search

Back
Top