Created
July 21, 2012 16:12
-
-
Save suhailshergill/3156289 to your computer and use it in GitHub Desktop.
haskell-src-exts eg: convert indented code into semi-colon layout
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 Language.Haskell.Exts | |
main = putStr . prettyPrintWithMode (defaultMode {layout = PPSemiColon}) | |
. fromParseResult . parseFileContents =<< getContents |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment