Sunday 20 September 2009 photo 2/3
|
Detta jävla plugg kommer ta knäcken på mig...
Annons
Comment the photo
spritzscheisse
Thu 24 Sep 2009 02:51
fun heapToList(heap as Heap(size, A)) =
let
fun printHeap'(Heap(size, A), 0) = [Array.sub(A, 0)]
| printHeap'(heap as Heap(size, A), i) = Array.sub(A, i) :: printHeap'(heap, i - 1);
in
rev(printHeap'(heap, size-1))
end;
får jag komma till kojan? =$
let
fun printHeap'(Heap(size, A), 0) = [Array.sub(A, 0)]
| printHeap'(heap as Heap(size, A), i) = Array.sub(A, i) :: printHeap'(heap, i - 1);
in
rev(printHeap'(heap, size-1))
end;
får jag komma till kojan? =$
3 comments on this photo
Directlink:
http://dayviews.com/flicklampan/411399077/