21 lines
242 B
TeX
21 lines
242 B
TeX
Let's go!
|
|
\begin{haskellcode}
|
|
x :: Int
|
|
x = 3
|
|
|
|
-- how about this?
|
|
x = 5
|
|
|
|
-- Int vs Integer
|
|
n :: Integer
|
|
n = 12345678909876543219873409823349873498723498
|
|
|
|
d :: Double
|
|
d = 5.0
|
|
|
|
c :: Char
|
|
c = 'k'
|
|
|
|
s :: String
|
|
s = "Hello, world?"
|
|
\end{haskellcode} |