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

Stabilityexperimental
MaintainerGuillaume Nargeot <guillaume+hackage@nargeot.com>
Safe HaskellSafe-Inferred

Trace.Hpc.Coveralls.Util

Description

Utility functions.

Documentation

fst4 :: (a, b, c, d) -> aSource

toFirstAndRest :: (a, b, c, d) -> (a, (b, c, d))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