hpc-coveralls-1.0.10: Coveralls.io support for Haskell.

Copyright(c) 2014-2015 Guillaume Nargeot
LicenseBSD3
MaintainerGuillaume Nargeot <guillaume+hackage@nargeot.com>
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell98

Trace.Hpc.Coveralls.Util

Description

Utility functions.

Documentation

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 #

listToMaybe :: [a] -> Maybe [a] 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 #