LoginSignup
3
1

More than 3 years have passed since last update.

Haskellのヒアドキュメントもどき

Last updated at Posted at 2019-08-17
someFunc :: IO ()
someFunc = putStrLn
  "\
   \Hello        Hello\n\
   \Hello        Hello\n\
   \  Hello\n\
   \    Hello    Hello\n\
   \Bye\
   \"
Output
↪ stack run
Hello        Hello
Hello        Hello
  Hello
    Hello    Hello
Bye
3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1