haskell-lectures/VL1/content/VL1_write_haskell2.tex
2015-04-20 00:51:14 +02:00

9 lines
149 B
TeX

GHCi:
\begin{haskellcode}
> 3 + 5
> (3 :: Integer) + (5 :: Int)
> 6 * 5.0
> "Hello" ++ " world"
> "Haskell" > "C++"
> True && False
\end{haskellcode}