Created
March 18, 2017 21:10
-
-
Save kunigami/9a6f74fb2a132b0729e3f30348a1fef7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let peek (queue: 'a queueSuspended): 'a = match queue with | |
| ([], _, _, _, _) -> raise Empty_queue | |
| (head :: forcedFront, _, _, _, _) -> head | |
;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment