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. west01

    Creating a list of lists

    Hi to all, I need a help... I want to regroup a sorted list in a list of lists. I would like to regroup all the same elements in a sorted list. Examples: ?- regroup([1,1,2,2,3,4], L). L = [[1,1], [2,2], [3], [4]]; NO ?- regroup([1,2,3,4], L). L = [[1], [2], [3], [4]]; NO Thank you...

Part and Inventory Search

Back
Top