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

[FIX] removing anonymous function

parent b7ee566a
...@@ -35,7 +35,7 @@ groupWithScores' :: (Eq a, Ord a, Monoid a, HasSize a) ...@@ -35,7 +35,7 @@ groupWithScores' :: (Eq a, Ord a, Monoid a, HasSize a)
groupWithScores' flc scores = FlowCont groups orphans groupWithScores' flc scores = FlowCont groups orphans
where where
-- parent/child relation is inherited from social lists -- parent/child relation is inherited from social lists
groups = HashMap.filter (\v -> viewScore v > 0) groups = HashMap.filter ((0 <) . viewScore)
$ toGroupedTree' $ toGroupedTree'
$ toMapMaybeParent scores $ toMapMaybeParent scores
$ (view flc_scores flc <> view flc_cont flc) $ (view flc_scores flc <> view flc_cont flc)
......
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