人気ブログランキング | 話題のタグを見る

Prelude の標準関数 - w -

words :: String -> [String]
動作:文から単語を抜き出して単語のリストにする。
用例:
Prelude> words "the quick brown\n\nfox"
["the", "quick", "brown", "fox"]
by tnomura9 | 2009-08-23 22:28 | Haskell | Comments(0)
<< Prelude の標準関数 -... Prelude の標準関数 -... >>