-
-
Save deckool/a914c7e600d37d4fa7ee67df78374fe8 to your computer and use it in GitHub Desktop.
sed - convert literate haskell to plain haskell
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
sed ' | |
s/^>// | |
t | |
s/^ *$// | |
t | |
s/^/-- / | |
' in.lhs > out.hs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment