-- | Run the doctest executable module Main (main) where import System.Process (callProcess) doctest :: IO () doctest = do args <- ("--ghc-option=" ++) <<$>> getArgs callProcess "cabal" $ ["repl", "--with-ghc=doctest"] <> args main :: IO () main = doctest