Haskell
pure functional programming language, strong static typing (like Scala)
a string is just a list of characters
Prelude> ['a', 'b']
"ab"
Prelude> "hello" ++ " world"
"hello world"
In Haskell, indentation is significantHaskell
pure functional programming language, strong static typing (like Scala)
a string is just a list of characters
Prelude> ['a', 'b']
"ab"
Prelude> "hello" ++ " world"
"hello world"
In Haskell, indentation is significant排名不分先後 :-)Effective C++ 作者:Scott MeyersISBN:0321334876 本人的C++啓蒙讀物,不過當
用ghc編譯時加上:-optl-mwindows 參見: http://comments.gmane.org/gmane.comp.lang.haskell.gtk2hs/1984