Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Package = Package {}
- repo :: Lens' Package (Maybe Repo)
- name :: Lens' Package String
- github :: Lens' Package (Maybe String)
- dependencies :: Lens' Package [String]
- hasGithub :: Package -> Bool
- isGithub :: [Char] -> Bool
- toPackageName :: [a] -> [a]
- dropGithub :: String -> String
- toPackage :: [String] -> Package
- parsePackages :: String -> [Package]
Documentation
A single hackage package
dependencies :: Lens' Package [String] Source
toPackageName :: [a] -> [a] Source
Drop as many characters as there are in: "http://hackage.haskell.org/package/"
dropGithub :: String -> String Source
parsePackages :: String -> [Package] Source