| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Cargo.Target
Description
Bounded native Cargo platform declarations used only for resolver comparison.
Synopsis
- data CargoTarget
- parseTarget :: Limits -> Text -> Either ParseError CargoTarget
Documentation
data CargoTarget Source #
Named targets remain exact. Cfg declarations retain their ordered native expression structure.
Instances
| Show CargoTarget Source # | |
Defined in Ecluse.Core.Registry.Cargo.Target Methods showsPrec :: Int -> CargoTarget -> ShowS # show :: CargoTarget -> String # showList :: [CargoTarget] -> ShowS # | |
| Eq CargoTarget Source # | |
Defined in Ecluse.Core.Registry.Cargo.Target | |
| Ord CargoTarget Source # | |
Defined in Ecluse.Core.Registry.Cargo.Target Methods compare :: CargoTarget -> CargoTarget -> Ordering # (<) :: CargoTarget -> CargoTarget -> Bool # (<=) :: CargoTarget -> CargoTarget -> Bool # (>) :: CargoTarget -> CargoTarget -> Bool # (>=) :: CargoTarget -> CargoTarget -> Bool # max :: CargoTarget -> CargoTarget -> CargoTarget # min :: CargoTarget -> CargoTarget -> CargoTarget # | |
parseTarget :: Limits -> Text -> Either ParseError CargoTarget Source #
Parse Cargo's cfg grammar with the request's nesting limit, including final commas in all/any lists.