RIVSDef.hs contains definitions for this lab. Please review it. R2RIVS.hs is where you implement an instance of the given type class. This is also what you hand in. Sample test cases are in testR2RIVS.hs. TestLib.hs is its support file.