stack-hpc-coveralls-0.0.4.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.

verifyVersion :: String -> Version -> Bool Source #

Check whether a string is a version and if it is greater than or equal to a specified version.

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 #