Created
March 9, 2015 13:17
-
-
Save takoeight0821/adaabfa3dfcd4c7c26b4 to your computer and use it in GitHub Desktop.
HaskellでもCPP
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
#define proc do | |
#define void(m)\ | |
m :: IO ();\ | |
m = | |
void(main) proc | |
a <- getLine | |
b <- getLine | |
putStrLn $ a ++ b | |
-- ghc -cpp proc.hs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment