Code background grey, use special code-block for GHCi

This commit is contained in:
Julian Ospald
2015-04-20 20:15:46 +02:00
parent e04217c4c0
commit 6438c6fb02
4 changed files with 35 additions and 18 deletions

View File

@@ -1,9 +1,8 @@
GHCi:
\begin{haskellcode}
\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}
\end{haskellcode*}