stackage-curator-0.15.0.0: Tools for curating Stackage bundles

Safe HaskellNone
LanguageHaskell2010

Stackage.Prelude

Synopsis

Documentation

simplifyVersionRange :: VersionRange -> VersionRange Source #

There seems to be a bug in Cabal where serializing and deserializing version ranges winds up with different representations. So we have a super-simplifier to deal with that.

topologicalSort Source #

Arguments

:: (Ord key, Show key, MonadThrow m, Typeable key) 
=> (value -> finalValue) 
-> (value -> Set key)

deps

-> Map key value 
-> m (Vector (key, finalValue)) 

Topologically sort so that items with dependencies occur after those dependencies.

data Target Source #

Constructors

TargetNightly !Day 
TargetLts !Int !Int 

Instances