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/
### Entry function
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.
### 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`.
......
......@@ -54,9 +54,8 @@ removeSub = do
type Query = Text
type Limit = Integer
runMultipleFPAR ::
[Integer]
-> IO (Either Text [PubMed])
runMultipleFPAR :: [Integer]
-> IO (Either Text [PubMed])
runMultipleFPAR ids
| length ids < 300 = runSimpleFetchPubmedAbstractRequest ids
| otherwise = do
......
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