blah blah blag

This commit is contained in:
didier amyot committed 2017-03-26 17:30:39 -04:00
1 parent 1e9d527608
commit 632cfb7c20
15 files changed
+171 -17

No files matched your search

+20 -3
View File
@@ -1,5 +1,5 @@
(ns transducerpres.slides.what
(:require [transducerpres.slides.util :refer [defslide defmarkdownslide clj-code markdown-slide markdown-part]]))
(:require [transducerpres.slides.util :refer [defslide defmarkdownslide clj-code markdown-slide markdown-part fa]]))
(defslide title
[:h3 "What is a Transducer?"])
@@ -15,10 +15,25 @@
"A **transducer** (sometimes referred to as **xform** or **xf**) is a "
"transformation from one reducing function to another")
(defmarkdownslide rich-hickey-definition
"#### According to Rich Hickey "
"* extract the **essence** of map, filter et al"
"* away of the functions that transform sequences/collections"
"* so they can be use elsewhere"
"* recasting them as **process transformation**")
(defmarkdownslide does-not-help-much
"#### That does not help much"
"#### That does not help much (the first time)"
"Instead let take a look at what transducer try to solve")
(defslide example-selection
(markdown-part
"#### let's look at an example"
"We have two options..."
"1. look at code example"
"2. look at a very nice analogy")
(fa "question"))
(defslide classical-problem
(markdown-part
"#### Classical problem: $ \\sum_{n=0}^{N-1} 2 \\cdot n + 3 $")
@@ -65,14 +80,16 @@
))
(defmarkdownslide transducer-formal-definition
"Hence a **transducer** is a data pipeline \"functional interface\""
"Hence, a **transducer** is a data pipeline \"functional interface\""
"that is un aware of the underlying data structure.")
(defslide what-is-a-tranducer
title
wikipedia-definition
clojuredoc-definition
rich-hickey-definition
does-not-help-much
example-selection
classical-problem
classical-problem-with-channel
classical-problem-with-transducer