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.1.0.21 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.20 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.19 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.18 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.17 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.16 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.15 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.14 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.13 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.12 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.11 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.10 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.9 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.8 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.7 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.6 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.5 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.4 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.3 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.1.0.2 tracks/ocaml/exercises/grade-school/grade_school.mli