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.27 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.26 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.25 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.24 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.23 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.22 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.21 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.20 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.19 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.18 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.17 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.16 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.15 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.14 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.13 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.12 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.11 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.10 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.9 tracks/ocaml/exercises/grade-school/grade_school.mli
trackler-2.2.1.8 tracks/ocaml/exercises/grade-school/grade_school.mli