hnix-0.5.1: Haskell implementation of the Nix language
Nix.Type.Infer
data Constraint Source #
Constructors
Instances
Methods
(==) :: Constraint -> Constraint -> Bool #
(/=) :: Constraint -> Constraint -> Bool #
compare :: Constraint -> Constraint -> Ordering #
(<) :: Constraint -> Constraint -> Bool #
(<=) :: Constraint -> Constraint -> Bool #
(>) :: Constraint -> Constraint -> Bool #
(>=) :: Constraint -> Constraint -> Bool #
max :: Constraint -> Constraint -> Constraint #
min :: Constraint -> Constraint -> Constraint #
showsPrec :: Int -> Constraint -> ShowS #
show :: Constraint -> String #
showList :: [Constraint] -> ShowS #
data TypeError Source #
(==) :: TypeError -> TypeError -> Bool #
(/=) :: TypeError -> TypeError -> Bool #
showsPrec :: Int -> TypeError -> ShowS #
show :: TypeError -> String #
showList :: [TypeError] -> ShowS #
data InferError Source #
showsPrec :: Int -> InferError -> ShowS #
show :: InferError -> String #
showList :: [InferError] -> ShowS #
(<>) :: InferError -> InferError -> InferError #
sconcat :: NonEmpty InferError -> InferError #
stimes :: Integral b => b -> InferError -> InferError #
mempty :: InferError #
mappend :: InferError -> InferError -> InferError #
mconcat :: [InferError] -> InferError #
toException :: InferError -> SomeException #
fromException :: SomeException -> Maybe InferError #
displayException :: InferError -> String #
newtype Subst Source #
(==) :: Subst -> Subst -> Bool #
(/=) :: Subst -> Subst -> Bool #
compare :: Subst -> Subst -> Ordering #
(<) :: Subst -> Subst -> Bool #
(<=) :: Subst -> Subst -> Bool #
(>) :: Subst -> Subst -> Bool #
(>=) :: Subst -> Subst -> Bool #
max :: Subst -> Subst -> Subst #
min :: Subst -> Subst -> Subst #
showsPrec :: Int -> Subst -> ShowS #
show :: Subst -> String #
showList :: [Subst] -> ShowS #
(<>) :: Subst -> Subst -> Subst #
sconcat :: NonEmpty Subst -> Subst #
stimes :: Integral b => b -> Subst -> Subst #
mempty :: Subst #
mappend :: Subst -> Subst -> Subst #
mconcat :: [Subst] -> Subst #
inferTop :: Env -> [(Text, NExpr)] -> Either InferError Env Source #