doctest-driver-gen-0.1.0.1: Generate doctest-driver.hs

Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Test.DocTest.Gen

Contents

Description

Provide doctest-driver-gen's functions.

Synopsis

Usage

{-# OPTIONS_GHC -F -pgmF doctest-driver-gen [-optF OPTION]... #-}

Make your driver file with the content. OPTION is doctest's option. You can see help with doctest --help.

Documentation

ddgen :: [String] -> IO () Source #

Run doctest-driver-gen with given list of arguments.

ddgen_output Source #

Arguments

:: String

Name of the original source file.

-> String

Name of the file holding the input.

-> String

Name of the file where this should write its output to.

-> [String]

Options for doctest.

-> IO () 

Output driver file.

ddgen_usage :: IO () Source #

Print doctest-driver-gen's usage.