diff --git a/chouser.css b/chouser.css new file mode 100644 index 0000000..976b6eb --- /dev/null +++ b/chouser.css @@ -0,0 +1,31 @@ +pre.sh_sourceCode .sh_string { font-family: inherit; } +pre.sh_sourceCode .sh_regexp { font-family: inherit; } +pre.sh_sourceCode .sh_specialchar { font-family: inherit; } +pre.sh_sourceCode .sh_linenum { font-family: inherit; } +pre.sh_sourceCode .sh_url { font-family: inherit; } +pre.sh_sourceCode .sh_fixed { font-family: inherit; } + +@media print { + .slide:first-child { margin-top: 0; } + + .slide .center { + width: 1020px; + height: 740px; + margin: 40px; + } + + #preso, .slide { + width: 1020px; + height: 740px; + margin: 40px; + } + pre, code { font-family: DejaVu Sans Mono; } +} + +@media screen { + code { font-size: 65%; font-family: DejaVu Sans Mono; } +} + +.content { + margin-top: 20px !important; +} diff --git a/chouser.js b/chouser.js new file mode 100644 index 0000000..4e38e23 --- /dev/null +++ b/chouser.js @@ -0,0 +1,13 @@ +var original_setupMenu = setupMenu; + +window.addEventListener('load', function() { + window.setupMenu = function() { + $('#preso').cycle({ + speed: 400, + timeout: 0 + }) + + original_setupMenu(); + } +}); + diff --git a/fingertree/fingertree.md b/fingertree/fingertree.md new file mode 100644 index 0000000..b20a0b0 --- /dev/null +++ b/fingertree/fingertree.md @@ -0,0 +1,14 @@ +!SLIDE bullets + +# Finger Trees +* Custom Persistent Collections + +*
Chris Houser +* a.k.a. Chouser +* Clojure Conj, Oct. 22 2010, Durham + +!SLIDE center transition=scrollLeft + +# Lookup by count + + diff --git a/fingertree/media/ft-counted-lookup.svg b/fingertree/media/ft-counted-lookup.svg new file mode 100644 index 0000000..322cd97 --- /dev/null +++ b/fingertree/media/ft-counted-lookup.svg @@ -0,0 +1,1259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + a + + + + + b + c + d + + + + + + e + f + g + + + + + + h + i + j + + + + + + k + l + m + + + + + o + p + q + + + + + + + + + + + + + + + + + + + + 16 + + + + 12 + + + + 1 + + + + 3 + + + + 3 + + + + 3 + + + + 3 + + + + 3 + + + + 3 + + + + 9 + + + + 0 + + + (nth cdl 5) + + +1 + + +3+0 + + +1+1 + + + + + + diff --git a/fingertree/media/ft-counted.svg b/fingertree/media/ft-counted.svg new file mode 100644 index 0000000..1497cb3 --- /dev/null +++ b/fingertree/media/ft-counted.svg @@ -0,0 +1,1092 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + <DeepTree <Digit1 a> <DeepTree <Digit1 <Digit3 b c d>> <EmptyTree> <Digit3 <Digit3 e f g> <Digit3 h i j> <Digit3 k l m>>> <Digit4 o p q r>> + + + + + + + + + + + + + a + + + + + b + c + d + + + + + + e + f + g + + + + + + h + i + j + + + + + + k + l + m + + + + + o + p + q + + + + + + + + + + + + + + + + + + + + 16 + + + + 12 + + + + 1 + + + + 3 + + + + 3 + + + + 3 + + + + 3 + + + + 3 + + + + 3 + + + + 9 + + + + 0 + + + + diff --git a/fingertree/media/ft1.svg b/fingertree/media/ft1.svg new file mode 100644 index 0000000..d0ec59a --- /dev/null +++ b/fingertree/media/ft1.svg @@ -0,0 +1,601 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + <DeepTree <Digit1 a> <DeepTree <Digit1 <Digit3 b c d>> <EmptyTree> <Digit3 <Digit3 e f g> <Digit3 h i j> <Digit3 k l m>>> <Digit4 o p q r>> + + + + + + + + + + + + + a + + + + + b + c + d + + + + + + e + f + g + + + + + + h + i + j + + + + + + k + l + m + + + + + + o + p + q + + + + + + + + + + + + + + + + + + + diff --git a/showoff.json b/showoff.json new file mode 100644 index 0000000..e9e08a7 --- /dev/null +++ b/showoff.json @@ -0,0 +1,2 @@ +{ "name": "Finger Trees: Custom Persistent Collections", + "sections": [ {"section":"fingertree"} ]}