codecov-haskell-0.2.0: Codecov.io support for Haskell.

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

Trace.Hpc.Codecov.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

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