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.0.6 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.0.5 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.0.4 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.0.3 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.0.2 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.0.1 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.0.0.0 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.4.1 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.4.0 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.3.0 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.2.1 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.2.0 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.1.2 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.1.1 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.1.0 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.0.1 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-1.0.0 tracks/ocaml/exercises/grade-school/school.mli