I'm trying to teach myself haskell by attempting to program a system
that stores information about stations on one london underground line
and allows the user to ask simple questions. For example, how many
stops from station x to station y? How long will it take to get to
station x from station y? Which stations allow me to connect to line x?
and which one is closest?
The information i need to store is the station name (obviously), the
time it takes to travel between one station and the next (e.g. 3 mins)
and the names of the lines that the station interchanges with (e.g.
circle or northern). Some stations can interchange with more than one
line but then some don't interchange with any.
How would i go about this? Mainly, how can i store the data and how do
i go about accessing it?
Any pointers would be greatly appreciated!
Thanks