You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
242 B

  1. Let's go!
  2. \begin{haskellcode}
  3. x :: Int
  4. x = 3
  5. -- how about this?
  6. x = 5
  7. -- Int vs Integer
  8. n :: Integer
  9. n = 12345678909876543219873409823349873498723498
  10. d :: Double
  11. d = 5.0
  12. c :: Char
  13. c = 'k'
  14. s :: String
  15. s = "Hello, world?"
  16. \end{haskellcode}