Copyright | (c) 2014-2015 Guillaume Nargeot |
---|---|
License | BSD3 |
Maintainer | Michele Lacchia <michelelacchia@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Utility functions used in other modules.
- readP :: String -> [String] -> IO String
- git :: [String] -> IO String
- stack :: [String] -> IO String
- getGitInfo :: IO GitInfo
- getRemotes :: IO [Remote]
- checkStackVersion :: IO Bool
- getHpcDir :: String -> IO FilePath
- getMixDir :: IO FilePath
- 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))
- mcons :: Maybe a -> [a] -> [a]
- matchAny :: [String] -> String -> Bool
- 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]]
Documentation
getGitInfo :: IO GitInfo Source #
Get information about the Git repo in the current directory.
getRemotes :: IO [Remote] Source #
checkStackVersion :: IO Bool Source #
Verify that the required Stack is present.
toFirstAndRest :: (a, b, c, d) -> (a, (b, c, d)) Source #
groupByIndex :: Int -> [(Int, a)] -> [[a]] Source #