option monad, and some design changes

This commit is contained in:
2021-12-19 08:08:10 +11:00
committed by aaron-jack-manning
parent 1c94d51334
commit de837bbf3b
17 changed files with 82 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
open Types
open Exposed
(** Adds an element to the back of the queue, returning the new queue. Runs in O(1). *)
val enqueue : 'a -> 'a queue -> 'a queue