tracks/haskell/exercises/grade-school/src/School.hs in trackler-2.0.6.6 vs tracks/haskell/exercises/grade-school/src/School.hs in trackler-2.0.6.7
- old
+ new
@@ -1,11 +1,15 @@
module School (School, add, empty, grade, sorted) where
data School = Dummy
-add = undefined
+add :: Int -> String -> School -> School
+add gradeNum student school = undefined
+empty :: School
empty = undefined
-grade = undefined
+grade :: Int -> School -> [String]
+grade gradeNum school = undefined
-sorted = undefined
+sorted :: School -> [(Int, [String])]
+sorted school = undefined