5 ms·
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 (
by helloTree 13y ago
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)"