Sha256: 3c399e5ee9ab49cced4d37d0132af76ca9697faedf516571bd8d664610fd2248

Contents?: true

Size: 467 Bytes

Versions: 177

Compression:

Stored size: 467 Bytes

Contents

(** Grade-school exercise *)
open Core.Std

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

177 entries across 177 versions & 1 rubygems

Version Path
trackler-2.0.6.41 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.40 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.39 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.38 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.37 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.36 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.35 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.34 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.33 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.32 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.31 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.30 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.29 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.28 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.27 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.26 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.25 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.24 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.23 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.6.22 tracks/ocaml/exercises/grade-school/grade_school.mli