Use footnotes for urls
This commit is contained in:
@@ -8,10 +8,10 @@ foldl f z [a,b,c] == ((z `f` a) `f` b) `f` c
|
||||
\vspace{\baselineskip}
|
||||
\\
|
||||
\pause
|
||||
\ifger{Wir können sogar foldl mittels foldr ausdrücken und umgekehrt. Wer interessiert daran ist, sollte hier weiterlesen:}{We can even express foldl in terms of foldr and vice versa. If you are interested, have a look here:}\\ \url{http://lambda.jstolarek.com/2012/07/expressing-foldl-in-terms-of-foldr/}
|
||||
\ifger{Wir können sogar foldl mittels foldr ausdrücken und umgekehrt. Wer interessiert daran ist, sollte hier\footnote{\url{http://lambda.jstolarek.com/2012/07/expressing-foldl-in-terms-of-foldr}} weiterlesen.}{We can even express foldl in terms of foldr and vice versa. If you are interested, have a look here\footnote{\url{http://lambda.jstolarek.com/2012/07/expressing-foldl-in-terms-of-foldr}}.}
|
||||
\vspace{\baselineskip}
|
||||
\\
|
||||
\ifger{Es macht Sinn diese Funktionen in \emph{Prelude} anzuschauen und ein bisschen damit herumzuspielen:}{You should definitely look them up in the Prelude and play with them:} \url{https://hackage.haskell.org/package/base-4.8.0.0/docs/Prelude.html}
|
||||
\ifger{Es macht Sinn diese Funktionen in \emph{Prelude}\footnote{\url{https://hackage.haskell.org/package/base-4.8.0.0/docs/Prelude.html}} anzuschauen und ein bisschen damit herumzuspielen:}{You should definitely look them up in the \emph{Prelude}\footnote{\url{https://hackage.haskell.org/package/base-4.8.0.0/docs/Prelude.html}} and play with them:}
|
||||
\begin{haskellcode*}{bgcolor=mygrey,frame=single,numbers=none,label=GHCi}
|
||||
> foldr (-) 0 [1, 2, 3]
|
||||
> foldl (-) 0 [1, 2, 3]
|
||||
|
||||
@@ -10,8 +10,6 @@ f x
|
||||
\ifger{während dies mit \hinline{let} so nicht möglich ist. Dieses ist hingegen ein echter Ausdruck und kann überall dort benutzt werden, wo Ausdrücke erlaubt sind (z.b. innerhalb von \emph{Monaden}, dazu später mehr).}{While that is not possible with \hinline{let}, which is an actual expression and can be used whenever expressions are allowed (e.g. inside \emph{Monads}, we'll know more about these in a few weeks).}
|
||||
\vspace{\baselineskip}
|
||||
\\
|
||||
\ifger{Es gibt hier noch ein paar weitere Feinheiten, aber generell ist es einfach nur Geschmackssache:}{There are a few more intricacies, but most of the time this is just style consideration:}\\ \url{https://wiki.haskell.org/Let_vs._Where}
|
||||
\ifger{Es gibt hier noch ein paar weitere Feinheiten\footnote{\url{https://wiki.haskell.org/Let_vs._Where}}, aber generell ist es einfach nur Geschmackssache.}{There are a few more intricacies\footnote{\url{https://wiki.haskell.org/Let_vs._Where}}, but most of the time this is just style consideration.}
|
||||
\pause
|
||||
\vspace{\baselineskip}
|
||||
\\
|
||||
\ifger{Wie müssten wir die Funktion umschreiben um \hinline{let} zu benutzen?}{How would we have to rewrite the function in order to use \hinline{let}?}
|
||||
Reference in New Issue
Block a user