Commit 7ecef6a1 authored by Mael NICOLAS's avatar Mael NICOLAS

Update README.md

parent 8e7abe7d
...@@ -20,7 +20,7 @@ In the usage it's exactly working as the other crawler `Documents` type, but it ...@@ -20,7 +20,7 @@ In the usage it's exactly working as the other crawler `Documents` type, but it
` HAL.Doc.Corpus.` `Corpus` is a simple type that contain every informations we need (id,title,abstract,publicationDate,sources). ` HAL.Doc.Corpus.` `Corpus` is a simple type that contain every informations we need (id,title,abstract,publicationDate,sources).
### Exemple ### Exemple
Here is a basic main using the entry point of the crawler and printing the 5 first results. Here is a basic main using the entry point of the crawler and printing the 5 first documents.
```hs ```hs
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
...@@ -41,7 +41,5 @@ main = do ...@@ -41,7 +41,5 @@ main = do
case res of case res of
(Left err) -> print err (Left err) -> print err
(Right val) -> print $ take 5 $ _docs val (Right val) -> print $ take 5 $ _docs val
``` ```
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