Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type M = ReaderT Env (ValidateT (Dual [Warning]) IO)
- runM :: Env -> M a -> IO ([Warning], Maybe a)
- asWarnings :: (Functor m, Monoid e) => ValidateT e m a -> m (e, Maybe a)
- data Env = Env {
- sayLog :: Verbosity -> Text -> IO ()
- updateLocations :: [(Int, Int)]
- attrPatterns :: [Regex]
- dryness :: Dryness
- onlyCommented :: Bool
- data Dryness
- data Verbosity
- newtype Updater = Updater {
- unUpdater :: M (Maybe Day, [SpanUpdate])
- data FetchTree
- = Node {
- nodeVersionExpr :: Maybe NExprLoc
- nodeChildren :: [(Maybe Text, FetchTree)]
- | UpdaterNode Updater
- = Node {
- data RepoLocation
Documentation
Env | |
|
A tree with a structure similar to the AST of the Nix file we are parsing, but which only contains the information we care about.
Node | |
| |
UpdaterNode Updater |
data RepoLocation Source #
A repo is either specified by URL or by Github owner/repo.
Instances
Show RepoLocation Source # | |
Defined in Update.Nix.FetchGit.Types showsPrec :: Int -> RepoLocation -> ShowS # show :: RepoLocation -> String # showList :: [RepoLocation] -> ShowS # |