Safe Haskell | None |
---|---|
Language | Haskell2010 |
Duplicates a subset of the Stack ADT. It'd be nice if we could just re-use the actual ADT, but stack isn't available as a library that we can build from Hackage.
Documentation
data ResolverRef Source #
Instances
Show ResolverRef Source # | |
Defined in StackageToHackage.Stackage showsPrec :: Int -> ResolverRef -> ShowS # show :: ResolverRef -> String # showList :: [ResolverRef] -> ShowS # | |
FromYAML ResolverRef Source # | |
Defined in StackageToHackage.Stackage parseYAML :: Node -> Parser ResolverRef # |
data NewResolver Source #
Instances
Show NewResolver Source # | |
Defined in StackageToHackage.Stackage showsPrec :: Int -> NewResolver -> ShowS # show :: NewResolver -> String # showList :: [NewResolver] -> ShowS # | |
FromYAML NewResolver Source # | |
Defined in StackageToHackage.Stackage parseYAML :: Node -> Parser NewResolver # |
stack2resolver :: Stack -> Resolver Source #
new2old :: NewResolver -> Resolver Source #
decode1Strict :: FromYAML a => ByteString -> Either String a Source #
hoistMaybe :: Alternative m => Maybe a -> m a Source #