<$> to .

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