nixpkgs-update-0.3.0: Tool for semi-automatic updating of nixpkgs repository
Safe HaskellNone
LanguageHaskell2010

Utils

Synopsis

Documentation

data Boundary a Source #

The Ord instance is used to sort lists of matchers in order to compare them as a set, it is not useful for comparing bounds since the ordering of bounds depends on whether it is a start or end bound.

Constructors

Unbounded 
Including a 
Excluding a 

Instances

Instances details
Eq a => Eq (Boundary a) Source # 
Instance details

Defined in Utils

Methods

(==) :: Boundary a -> Boundary a -> Bool #

(/=) :: Boundary a -> Boundary a -> Bool #

Ord a => Ord (Boundary a) Source # 
Instance details

Defined in Utils

Methods

compare :: Boundary a -> Boundary a -> Ordering #

(<) :: Boundary a -> Boundary a -> Bool #

(<=) :: Boundary a -> Boundary a -> Bool #

(>) :: Boundary a -> Boundary a -> Bool #

(>=) :: Boundary a -> Boundary a -> Bool #

max :: Boundary a -> Boundary a -> Boundary a #

min :: Boundary a -> Boundary a -> Boundary a #

Read a => Read (Boundary a) Source # 
Instance details

Defined in Utils

Show a => Show (Boundary a) Source # 
Instance details

Defined in Utils

Methods

showsPrec :: Int -> Boundary a -> ShowS #

show :: Boundary a -> String #

showList :: [Boundary a] -> ShowS #

data Options Source #

Instances

Instances details
Show Options Source # 
Instance details

Defined in Utils

type URL = Text Source #

data VersionMatcher Source #

The Ord instance is used to sort lists of matchers in order to compare them as a set, it is not useful for comparing versions.

runLog :: Member (Embed IO) r => (Text -> IO ()) -> Sem (Output Text ': r) a -> Sem r a Source #

srcOrMain :: MonadIO m => (Text -> ExceptT Text m a) -> Text -> ExceptT Text m a Source #

tRead :: Read a => Text -> a Source #

whenBatch :: Applicative f => UpdateEnv -> f () -> f () Source #