nowdoc v0.1.1.0 Release Notes

    • ➕ add QuasiQuoter txtfile
    • ➕ add QuasiQuoter binfile

    txtfile

    QuasiQuoter txtfile incerts file contents as string without transformation. 0️⃣ It read file as text file (with default encoding on your system).

    main :: IO ()
    main = putStr [txtfile|foo.txt|]
    

    binfile

    QuasiQuoter txtfile incerts file contents as string without transformation. It read file as binary file.

    main :: IO ()
    main = putStr [binfile|foo.dat|]