Anonymous avatar Anonymous committed 8ab9216

Incorporate feedback from Tony Morris

Comments (0)

Files changed (1)

 	<div class="slide">
 		<p>Scalaz pimps a set of common typeclasses for us, so we can just do:</p>
 <pre class="scala">
-3.shows // must have a "Show[Int]" instance in scope 
+3.shows // must have a "Show[Int]" instance in scope, or will fail to type check
 </pre>
 	</div>	
 </section>
 		<li class="slide">There's mostly* nothing magical about these typeclasses</li>
 		<li class="slide">In scala, they're provided by a library called scalaz (pronounced scala-zed)</li>
 		<li class="slide">We're using a snapshot of scalaz-seven, hosted on github</li>
+		<li class="slide">This is how the hierarchy is defined in Haskell--- it isn't perfect</li>
 	</ul>
 	<p class="slide">We'll cover functors, applicative functors, and monads</p>
 	<p class="slide" style="font-size: 60%">*one exception: <code>for</code> comprehensions and monads</p>
     fmap :: (a -> b) -> f a -> f b	
 </pre>
 	</div>
+	<div class="slide">
+		<p>In the Haskell version, we see how <code>f</code> is <em>lifted</em> into the functor context.</p>
+	</div>
 </section>
 
 <section class="slide">
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.