stack-hpc-coveralls-0.0.1.0: Initial project template from stack

Copyright(c) 2014-2015 Guillaume Nargeot
LicenseBSD3
MaintainerMichele Lacchia <michelelacchia@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

SHC.Utils

Description

Utility functions used in other modules.

Synopsis

Documentation

getGitInfo :: IO GitInfo Source #

Get information about the Git repo in the current directory.

checkStackVersion :: IO Bool Source #

Verify that the required Stack is present.

getHpcDir :: String -> IO FilePath Source #

Return the HPC data directory, given the package name.

getMixDir :: IO FilePath Source #

Return the HPC mix directory, where module data is stored.

fst3 :: (a, b, c) -> a Source #

snd3 :: (a, b, c) -> b Source #

trd3 :: (a, b, c) -> c Source #

fst4 :: (a, b, c, d) -> a Source #

toFirstAndRest :: (a, b, c, d) -> (a, (b, c, d)) Source #

mcons :: Maybe a -> [a] -> [a] Source #

mapFirst :: (a -> a) -> [a] -> [a] Source #

mapLast :: (a -> a) -> [a] -> [a] Source #

subSeq :: Int -> Int -> [a] -> [a] Source #

subSubSeq :: Int -> Int -> [[a]] -> [[a]] Source #

groupByIndex :: Int -> [(Int, a)] -> [[a]] Source #