Created
June 13, 2023 08:32
-
-
Save saitouena/51c0faf4e5a5a4dcb0daa565466b62df to your computer and use it in GitHub Desktop.
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
import qualified Data.ByteString.Builder as BSB | |
import System.IO | |
-- https://hackage.haskell.org/package/bytestring-0.11.4.0/docs/Data-ByteString-Builder.html#g:12 | |
main :: IO () | |
main = BSB.hPutBuilder stdout (mconcat [BSB.string7 "I'm ", BSB.intDec 7, BSB.string7 " years old now.\n"]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment