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