Skip to content

Instantly share code, notes, and snippets.

@jackfoxy
Created November 2, 2012 19:04
Show Gist options
  • 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