Skip to content

Decisions and Tasks

Quinn H Koike edited this page Nov 22, 2016 · 3 revisions

The core 3 pieces of work are:

  1. Make the http request to get the json and parse it.

  2. Pick out the info we are interested in and convert it into Haskell data types.

  3. Write and read from the database.

Part 1 is going to require essentially going back over the http lab we never got to do properly (because of the stack confusion) and figuring out how to make it actually work. The output from part 1 I guess just needs to be an IO string.

Part 2 requires actually thinking about the data structure, using a regex (?) to get the bits we're interested in out of the string, or seeing if there's a json parsing haskell library we can use, and the creating the datatypes and writing code to make each earthquake be represented by a haskell datatype.

The obviously part 3 is all about SQL.

Part 1 - Holly

Part 2 - Quinn

Part 3 - Joe

Remember to write haddock Documentation as you go & handle exceptions.

Clone this wiki locally