Update Functoriality.tex (#98)

The type :: and definition (=) should be expressed on separate lines, as they are in the blog.
This commit is contained in:
Joe Bowbeer 2017-12-17 00:05:34 -08:00 committed by Igal Tabachnik
parent 48a71d1510
commit 34b4cd1fbd

View File

@ -436,7 +436,8 @@ m1 >=> m2 = \x ->
and the identity morphism by a function called \code{return}:
\begin{Verbatim}
return :: a -> Writer a return x = (x, "")
return :: a -> Writer a
return x = (x, "")
\end{Verbatim}
It turns out that, if you look at the types of these two functions long
enough (and I mean, \emph{long} enough), you can find a way to combine