HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleCabal-3.12.1.0Haskell2010

Distribution.Simple.Test.LibV09

  • 7 values
  • PackageCabal-3.12.1.0
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceLibV09.hs
valuestubMain :: IO [Test] -> IO ()
#

Main function for test stubs. Once, it was written directly into the stub, but minimizing the amount of code actually in the stub maximizes the number of detectable errors when Cabal is compiled.

valuewriteSimpleTestStub
  1. :: TestSuite

    library TestSuite for which a stub is being created

  2. -> FilePath

    path to directory where stub source should be located

  3. -> IO ()
#

Write the source file for a library TestSuite stub executable.