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 bkrike 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: trint
  • Content: Threads
  • Order by date
  1. trint

    Haskell help, anyone?

    Hi All, Although not prolog based. I'm trying to write a function in Haskell 'prod lst1 lst2' which sums the products of corresponding elements of two lists. e.g prod [1,2,3] [4,5,6] = 1*4 + 2*5 + 3*6 =32 I'm think the 'map' function is to be used but i dont know how to implement the...
  2. trint

    Parameter accumulator

    I'm making a Londen underground tracking program. I have already created the code that finds and places the stations in a list. Its just that my program builds up the same list of stations twice over, once as a route and once as the avoid list, how can i use the accumulator parameter to tackle this.

Part and Inventory Search

Back
Top