Skip to content

Instantly share code, notes, and snippets.

@jackfoxy
Created November 2, 2012 19:04
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 jackfoxy/4003662 to your computer and use it in GitHub Desktop.
Save jackfoxy/4003662 to your computer and use it in GitHub Desktop.
BinomialHeap type structure
type BinomialTree<'a> = Node of (int * 'a * list<BinomialTree<'a>>)
type BinomialHeap<'a when 'a : comparison> (isMaximalist : bool, heap : list<BinomialTree<'a>>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment