Skip to content

Instantly share code, notes, and snippets.

@kunigami
Last active March 19, 2017 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunigami/1d447c16ca84d2ea00a1cd2924f48c62 to your computer and use it in GitHub Desktop.
Save kunigami/1d447c16ca84d2ea00a1cd2924f48c62 to your computer and use it in GitHub Desktop.
(*
- size of front stream
- stream representing the front of the queue
- size of rear stream
- stream representing the (reversed) rear of the queue
*)
type 'a queueStream = int * 'a stream * int * 'a stream;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment