haskell-lectures/VL1/content/VL1_write_haskell2.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}