Skip to content

Commit

Permalink
Merge pull request #362 from ricemery/grade-school
Browse files Browse the repository at this point in the history
Add file with expected interface. Refs #137
  • Loading branch information
ErikSchierboom authored May 16, 2017
2 parents 5da60e0 + 13d2a8e commit 6a9a90e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions exercises/grade-school/src/main/scala/School.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class School {
type DB = Map[Int, Seq[String]]

def add(name: String, g: Int) = ???

def db: DB = ???

def grade(g: Int): Seq[String] = ???

def sorted: DB = ???
}

0 comments on commit 6a9a90e

Please sign in to comment.