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.8.37 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.36 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.35 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.34 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.33 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.32 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.31 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.30 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.29 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.28 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.27 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.26 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.24 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.23 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.22 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.21 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.20 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.19 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.18 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.8.17 tracks/ocaml/exercises/grade-school/grade_school.mli