Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
VOUnit: https://www.ivoa.net/documents/VOUnits/20231215/REC-VOUnits-1.1.html - Unrecognised units should be accepted by parsers, as long as they are parsed giving preference to the syntaxes and prefixes described here.
Tag a value with a Unit
Instances
Generic Quantity Source # | |||||
Defined in Telescope.Asdf.Core
| |||||
FromAsdf Quantity Source # | |||||
Defined in Telescope.Asdf.Core | |||||
ToAsdf Quantity Source # | |||||
type Rep Quantity Source # | |||||
Defined in Telescope.Asdf.Core type Rep Quantity = D1 ('MetaData "Quantity" "Telescope.Asdf.Core" "telescope-0.2.0-inplace" 'False) (C1 ('MetaCons "Quantity" 'PrefixI 'True) (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Unit) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value))) |
Required Software node at the top-level
Instances
toAsdfDoc :: forall a (es :: [Effect]). (ToAsdf a, Error AsdfError :> es) => a -> Eff es Asdf Source #
Convert any ToAsdf into a raw Asdf document
Instances
Generic History Source # | |||||
Defined in Telescope.Asdf.Core
| |||||
Show History Source # | |||||
FromAsdf History Source # | |||||
Defined in Telescope.Asdf.Core | |||||
ToAsdf History Source # | |||||
type Rep History Source # | |||||
Defined in Telescope.Asdf.Core type Rep History = D1 ('MetaData "History" "Telescope.Asdf.Core" "telescope-0.2.0-inplace" 'False) (C1 ('MetaCons "History" 'PrefixI 'True) (S1 ('MetaSel ('Just "extensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ExtensionMetadata]))) |
data ExtensionMetadata Source #
Instances
Generic ExtensionMetadata Source # | |||||
Defined in Telescope.Asdf.Core
from :: ExtensionMetadata -> Rep ExtensionMetadata x # to :: Rep ExtensionMetadata x -> ExtensionMetadata # | |||||
Show ExtensionMetadata Source # | |||||
Defined in Telescope.Asdf.Core showsPrec :: Int -> ExtensionMetadata -> ShowS # show :: ExtensionMetadata -> String # showList :: [ExtensionMetadata] -> ShowS # | |||||
FromAsdf ExtensionMetadata Source # | |||||
Defined in Telescope.Asdf.Core parseValue :: forall (es :: [Effect]). Parser :> es => Value -> Eff es ExtensionMetadata Source # | |||||
ToAsdf ExtensionMetadata Source # | |||||
Defined in Telescope.Asdf.Core | |||||
type Rep ExtensionMetadata Source # | |||||
Defined in Telescope.Asdf.Core type Rep ExtensionMetadata = D1 ('MetaData "ExtensionMetadata" "Telescope.Asdf.Core" "telescope-0.2.0-inplace" 'False) (C1 ('MetaCons "ExtensionMetadata" 'PrefixI 'True) (S1 ('MetaSel ('Just "extension_class") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "software") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Software))) |