• Grégoire Locqueville's avatar
    Replace `occurrencesWith` with a simpler function · a36d62b5
    Grégoire Locqueville authored
    `occurrencesWith` takes a function parameter to map over the input
    collection before counting occurrences. Every time it's called, though,
    it's with `identity`, so I replaced the function with a basic occurence
    counting function.
    
    Note that if one needs to apply a function to a collection before counting
    occurrences, they can simply `fmap` over the collection first.
    a36d62b5
Name
Last commit
Last update
..
Config Loading commit data...
Ext Loading commit data...
Flow Loading commit data...
LinearAlgebra Loading commit data...
Mail Loading commit data...
Methods Loading commit data...
NodeStory Loading commit data...
Notifications Loading commit data...
Text Loading commit data...
Types Loading commit data...
Utils Loading commit data...
Viz Loading commit data...
Worker Loading commit data...
Config.hs Loading commit data...
LinearAlgebra.hs Loading commit data...
Mail.hs Loading commit data...
NLP.hs Loading commit data...
NodeStory.hs Loading commit data...
Notifications.hs Loading commit data...
Statistics.hs Loading commit data...
Text.hs Loading commit data...
Types.hs Loading commit data...
Utils.hs Loading commit data...
Viz.hs Loading commit data...
Worker.hs Loading commit data...