haskell-lectures/VL1/content/VL1_arithmetic_and_co.tex

9 lines
149 B
TeX
Raw Normal View History

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