1
0
Derivar 0

Reword code types

Este cometimento está contido em:
Julian Ospald 2015-04-16 20:10:56 +02:00
ascendente 8f9343cb36
cometimento 42fed3b696
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 220CD1C5BDEED020
1 ficheiros modificados com 3 adições e 3 eliminações

Ver ficheiro

@ -692,10 +692,10 @@ For haskell IDEs, see \url{https://wiki.haskell.org/IDEs}
Does this compile? If not, fix it. Is this a total function?
\setHaskellCodeStyle
\begin{lstlisting}
data FakeInt = MkDouble Double
| MkInt Int
data IntOrDouble = MkDouble Double
| MkInt Int
f :: Int -> FakeInt
f :: Int -> IntOrDouble
f 0 = 0.5
\end{lstlisting}
\end{frame}