haskell-lectures/VL1/content/VL1_arithmetic_and_co.tex

8 lines
198 B
TeX
Raw Normal View History

\begin{haskellcode*}{bgcolor=mygrey,frame=single,numbers=none,label=GHCi}
> 3 + 5
> (3 :: Integer) + (5 :: Int)
> 6 * 5.0
> "Hello" ++ " world"
> "Haskell" > "C++"
> True && False
\end{haskellcode*}