Sha256: 61c4409d6bbae82ae1d3e8f0330d03d7c374d488234e1c5d28f86e09017a0353

Contents?: true

Size: 463 Bytes

Versions: 108

Compression:

Stored size: 463 Bytes

Contents

(** Grade-school exercise *)
open Core

type school

(** Create a new empty school *)
val create : unit -> school

(** Add a student to a school *)
val add : string -> int -> school -> school

(** Get all the students from a grade *)
val grade : int -> school -> string list

(** Sort the list of students in a grade, if necessary *)
val sort : school -> school

(** Return the list of grades and students as a map *)
val to_map : school -> string list Int.Map.t

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
trackler-2.2.1.47 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.46 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.45 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.44 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.43 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.42 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.41 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.40 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.39 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.38 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.37 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.36 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.35 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.34 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.33 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.32 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.31 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.30 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.29 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.28 tracks/ocaml/exercises/grade-school/grade_school.mli