<$> to .

parent 8d8f725c
...@@ -74,9 +74,9 @@ main = do ...@@ -74,9 +74,9 @@ main = do
--corpus :: IO (DM.IntMap [[Text]]) --corpus :: IO (DM.IntMap [[Text]])
corpus <- DM.fromListWith (<>) corpus <- DM.fromListWith (<>)
<$> DV.toList . DV.toList
<$> DV.map (\n -> (csv_publication_year n, [(csv_title n) <> " " <> (csv_abstract n)])) . DV.map (\n -> (csv_publication_year n, [(csv_title n) <> " " <> (csv_abstract n)]))
<$> snd . snd
<$> readCsv corpusFile <$> readCsv corpusFile
-- termListMap :: [Text] -- termListMap :: [Text]
......
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