Or just use ghc -e, e.g. some useful scripts
for interact:
#!/bin/bash ghc -e "interact ($1)"
line processing:
#!/bin/bash ghc -e "interact (unlines . map ($1) . lines)"
for interact:
#!/bin/bash ghc -e "interact ($1)"
line processing:
#!/bin/bash ghc -e "interact (unlines . map ($1) . lines)"
No comments yet.