Created
December 14, 2011 11:10
-
-
Save omegatakuma/1476160 to your computer and use it in GitHub Desktop.
Hello,Worldを5回ループという簡単な仕事
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
putStrLn $ unlines $ replicate 5 $ "Hello,World" | |
putStrLn $ unwords $ replicate 5 $ "Hello,World¥n" | |
{ -unlinesとunwordsの違いは改行がつくかつかないかです。 | |
unlinesはつきますが、unwordsはつきません。— } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment