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 #

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

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

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

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

listToMaybe :: [a] -> Maybe [a] #

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

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

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

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

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

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