Hi Everyone,

I am completely new to this so my apologies if some of the questions are ill described/directed, but if they are just let me know and i'll try and make the relevent changes.

I chose this one as it seemed the right sort for me with my (rudimentary knowledge), the first question is probably very simple but a bit of a jump for my brain.

Basically i want to add two user entered numbers together to calculate the number of stops between two traint stations so i think i would define that as so:

stops :: int->int->int

I think that says that the function stops takes two integers and returns an integer.

What i'm not entirely sure of is how i'd then write the function itself because i literally want it to have the following form

stops (x,y) = x+y

i'm not entirely sure how i need to write that - or even if thats correct, but that looks a bit too C++ for me - could anyone possibly help explain to me the correct way to do it and why (thats my big thing - i don't know why i'm supposed to do these things!!!)

Cheers everyone - if i have blatantly missused this mailing list just email me some abuse.

Neil