• 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
..
Tools Loading commit data...
API.hs Loading commit data...
Bridgeness.hs Loading commit data...
FGL.hs Loading commit data...
GEXF.hs Loading commit data...
Index.hs Loading commit data...
Legend.hs Loading commit data...
PatriciaTreeTypes.hs Loading commit data...
Tools.hs Loading commit data...
Types.hs Loading commit data...
Utils.hs Loading commit data...