Commits

John Kodumal committed 9562d95

Add a return type to foo example

  • Participants
  • Parent commits 20aa5ac

Comments (0)

Files changed (1)

 	<div class="slide">
 <pre class="scala">
 val x : List[Int] = ...
-def foo[F[_] : Functor](fs : F[Int]) = ...
+def foo[F[_] : Functor](fs : F[Int]): F[Int] = ...
 </pre>
 	<p>What is <code>foo(x).length?</code><p>
 	</div>