Commit 4cf5fa03 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Doc] typo

parent dc1457a9
...@@ -7,7 +7,7 @@ https://www.ncbi.nlm.nih.gov/books/NBK25501/ ...@@ -7,7 +7,7 @@ https://www.ncbi.nlm.nih.gov/books/NBK25501/
### Entry function ### Entry function
The basic entry point of this crawler is the function `PUBMED.` `getMetadataWith`. The basic entry point of this crawler is the function `PUBMED.` `getMetadataWith`.
This function take a `Text` representing the query you want to run on hal This function take a `Text` representing the query you want to run on pubmed
and a `Maybe Int` representing the maximum number of result you want to get. and a `Maybe Int` representing the maximum number of result you want to get.
### Return Type ### Return Type
The return type is a bit more tricky, it's **either** a `Text` representing an error or a collection of `PUBMED.Parser` `PubMed`. The return type is a bit more tricky, it's **either** a `Text` representing an error or a collection of `PUBMED.Parser` `PubMed`.
......
...@@ -54,8 +54,7 @@ removeSub = do ...@@ -54,8 +54,7 @@ removeSub = do
type Query = Text type Query = Text
type Limit = Integer type Limit = Integer
runMultipleFPAR :: runMultipleFPAR :: [Integer]
[Integer]
-> IO (Either Text [PubMed]) -> IO (Either Text [PubMed])
runMultipleFPAR ids runMultipleFPAR ids
| length ids < 300 = runSimpleFetchPubmedAbstractRequest ids | length ids < 300 = runSimpleFetchPubmedAbstractRequest ids
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment