Created
June 22, 2014 19:33
-
-
Save ryantm/50e07bd69cb248d0a65b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Control.Arrow | |
main = return () | |
printFile = readFile >>> putStr |
This file contains hidden or 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
runhaskell blah.hs | |
blah.hs:5:26: | |
Couldn't match type ‘IO String’ with ‘[Char]’ | |
Expected type: IO String -> IO () | |
Actual type: String -> IO () | |
In the second argument of ‘(>>>)’, namely ‘putStr’ | |
In the expression: readFile >>> putStr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment