Commit e1feabb5 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[FEAT] external apis tested and fixed.

parent ed4debe3
...@@ -43,7 +43,7 @@ toDoc' la (HAL.Corpus i t ab d s aus affs) = do ...@@ -43,7 +43,7 @@ toDoc' la (HAL.Corpus i t ab d s aus affs) = do
(Just $ intercalate " " t) (Just $ intercalate " " t)
(Just $ foldl (\x y -> x <> ", " <> y) "" aus) (Just $ foldl (\x y -> x <> ", " <> y) "" aus)
(Just $ foldl (\x y -> x <> ", " <> y) "" affs) (Just $ foldl (\x y -> x <> ", " <> y) "" affs)
s (Just $ maybe "Nothing" identity s)
(Just $ intercalate " " ab) (Just $ intercalate " " ab)
(fmap (pack . show) utctime) (fmap (pack . show) utctime)
pub_year pub_year
......
...@@ -80,7 +80,7 @@ isidoreToDoc l (IsidoreDoc t a d u s as) = do ...@@ -80,7 +80,7 @@ isidoreToDoc l (IsidoreDoc t a d u s as) = do
(Just $ cleanText $ langText t) (Just $ cleanText $ langText t)
(creator2text <$> as) (creator2text <$> as)
Nothing Nothing
(_sourceName <$> s) (Just $ maybe "Nothing" identity $ _sourceName <$> s)
(cleanText <$> langText <$> a) (cleanText <$> langText <$> a)
(fmap (Text.pack . show) utcTime) (fmap (Text.pack . show) utcTime)
(pub_year) (pub_year)
......
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