! >Safeq '3 QuasiQuoter: nowdoc, txtfile, binfile(c) Yoshikuni Jujo, 2018 BSD-3-ClausePAF01143@nifty.ne.jpSafe] "nowdoc0Simplest here document. Only two transformation.remove head newline if existremove one space from '|', space, space, ..., ']' .main :: IO () main = putStrLn [nowdoc|hello|]  6main :: IO () main = putStr [nowdoc| Hello, world! |] _main :: IO () main = putStr [nowdoc| main :: IO () main = putStr [nowdoc| Hello, world! | ] |] nowdocQuasiQuoter txtfile incerts file contents as string without transformation. It read file as text file (with default encoding on your system). /main :: IO () main = putStr [txtfile|foo.txt|] nowdochQuasiQuoter binfile incerts file contents as string without transformation. It read file as binary file. .main :: IO () main = print [binfile|foo.dat|]       %nowdoc-0.1.1.0-EcI96xKvQP1I2Q1LmnDpAp Text.Nowdoc Paths_nowdocnowdoctxtfilebinfileversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName