This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Confirm working support of bytestring for #40
- Loading branch information
1 parent
e0026b1
commit b1f3c0c
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import System.IO | ||
import qualified Data.ByteString.Char8 as CBS | ||
|
||
main :: IO () | ||
main = do | ||
putStrLn "The limits of my language mean the limits of my world." | ||
print $ CBS.pack "The limits of my language mean the limits of my world." | ||
hPutStrLn | ||
stderr | ||
"The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt." |