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

    max in a list

    I want to write a procedure max_nested_list/2 to find a maximum from a nested list. For Example... ?- max_nested_list([], Z). Z = [] ?- max_nested_list([2, a], Z). Z = 2 ; No ?- max_nested_list([[1, a, f(b)], [[[5.2, a], 2], 4.3], [3, h(a)]], Z). Z = 5.2...

Part and Inventory Search

Back
Top