-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Shuffle tool for UHC -- -- Shuffle tool used by UHC (Utrecht Haskell Compiler) @package shuffle @version 0.1.3.2 module UHC.Shuffle.Version version :: [Char] module UHC.Shuffle shuffleMain :: IO () shuffleCompile :: Handle -> Opts -> FPath -> [FPathWithAlias] -> IO Bool getDeps :: Opts -> String -> IO [String] type FPathWithAlias = (Maybe String, FPath) data Opts defaultOpts :: Opts parseOpts :: [String] -> (Opts, FPath, [FPathWithAlias], [String]) module Distribution.Simple.Shuffle -- | Add shuffle to a set of existing userhooks. To use shuffle together -- with UUAGC, define a Setup.hs as follows: -- --
-- import Distribution.Simple (defaultMainWithHooks) -- import Distribution.Simple.Shuffle (shuffleHooks) -- import Distribution.Simple.UUAGC (uuagcLibUserHook) -- import UU.UUAGC (uuagc) -- -- main :: IO () -- main = defaultMainWithHooks (shuffleHooks (uuagcLibUserHook uuagc)) ---- -- For .chs files, the shuffle settings can be configured in the .cabal -- file as follows: -- --
-- x-shuffle-hs: --gen-reqm=1 --preamble=no --lhs2tex=no --variant-order="1" ---- -- For the .cag files, the shuffle and AG options can be specified as: -- --
-- x-shuffle-ag: --gen-reqm=1 --preamble=no --lhs2tex=no --variant-order="1" -- x-shuffle-ag-d: data, rename -- x-shuffle-ag-s: catas, semfuns, signatures, pretty, rename -- x-shuffle-ag-sd: data, catas, semfuns, signatures, pretty, rename, module -- x-shuffle-ag-d-dep: Data/DataFile.cag -- Another.cag -- x-shuffle-ag-s-dep: Main.cag -- Data/Imports.cag -- Another.cag --shuffleHooks :: UserHooks -> UserHooks