Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ContributorSpec = ContributorSpec {}
- contributorSpecParser :: Parser [ContributorSpec]
- data ORCID = ORCID {
- _orcidNums :: [Char]
- _orcidChecksum :: Char
Documentation
data ContributorSpec Source #
A data type to represent a contributor
ContributorSpec | |
|
Instances
FromJSON ContributorSpec Source # | To facilitate automatic parsing of ContributorSpec from JSON files |
Defined in Poseidon.Contributor parseJSON :: Value -> Parser ContributorSpec parseJSONList :: Value -> Parser [ContributorSpec] | |
ToJSON ContributorSpec Source # | |
Defined in Poseidon.Contributor toJSON :: ContributorSpec -> Value toEncoding :: ContributorSpec -> Encoding toJSONList :: [ContributorSpec] -> Value toEncodingList :: [ContributorSpec] -> Encoding | |
Show ContributorSpec Source # | |
Defined in Poseidon.Contributor showsPrec :: Int -> ContributorSpec -> ShowS # show :: ContributorSpec -> String # showList :: [ContributorSpec] -> ShowS # | |
Eq ContributorSpec Source # | |
Defined in Poseidon.Contributor (==) :: ContributorSpec -> ContributorSpec -> Bool # (/=) :: ContributorSpec -> ContributorSpec -> Bool # |
A data type to represent an ORCID see https://support.orcid.org/hc/en-us/articles/360006897674-Structure-of-the-ORCID-Identifier
ORCID | |
|
Instances
FromJSON ORCID Source # | |
Defined in Poseidon.Contributor parseJSON :: Value -> Parser ORCID parseJSONList :: Value -> Parser [ORCID] | |
ToJSON ORCID Source # | |
Defined in Poseidon.Contributor | |
Show ORCID Source # | |
Eq ORCID Source # | |