Skip to content

Instantly share code, notes, and snippets.

Last active December 20, 2015 16:38
What would you like to do?
-- cabal install --with-ld=./gold.hs
import Data.List
import System.Environment
import System.Exit
import System.Process
ignores :: [String]
ignores = [ "--hash-size"
, "--reduce-memory-overheads"
main :: IO ()
main = getArgs >>=
rawSystem "/usr/bin/" . filter (\arg -> not $ any (`isPrefixOf` arg) ignores) >>=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment