Skip to content

Instantly share code, notes, and snippets.

View jackfoxy's full-sized avatar

Jack Fox jackfoxy

View GitHub Profile
@jackfoxy
jackfoxy / BinomialHeap type structure.fs
Created November 2, 2012 17:10
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>>)