tfwh-0.3.7.0

Safe HaskellSafe
LanguageHaskell2010

TFwH.Chap01.ExC

Description

練習問題 C

>>> :type 'H'
'H' :: Char
>>> :type "H"
"H" :: [Char]
>>> :type 2001
2001 :: Num t => t
>>> :type "2001"
"2001" :: [Char]
>>> [1, 2, 3] ++ [3, 2, 1]
[1,2,3,3,2,1]
>>> "Hello" ++ " World!"
"Hello World!"
>>> [1, 2, 3] ++ []
[1,2,3]
>>> "Hello" ++ " " ++ "World!"
"Hello World!"