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