2015-04-20 18:15:46 +00:00
|
|
|
\begin{haskellcode*}{bgcolor=mygrey,frame=single,numbers=none,label=GHCi}
|
2015-04-19 22:32:01 +00:00
|
|
|
> 3 + 5
|
|
|
|
> (3 :: Integer) + (5 :: Int)
|
|
|
|
> 6 * 5.0
|
|
|
|
> "Hello" ++ " world"
|
|
|
|
> "Haskell" > "C++"
|
2015-04-29 20:09:37 +00:00
|
|
|
> 3 > 4
|
2015-04-19 22:32:01 +00:00
|
|
|
> True && False
|
2015-04-20 18:15:46 +00:00
|
|
|
\end{haskellcode*}
|