1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00

StrictData is on so we don't need explicit bangs

This commit is contained in:
Patrick Thomson 2018-06-11 14:35:09 -04:00
parent 666524a07b
commit 220aaff435

View File

@ -88,7 +88,7 @@ graphToAdjList = taggedGraphToAdjList . tagGraph
-- Using a PBGraph as the accumulator for the fold would incur
-- significant overhead associated with Vector concatenation.
-- We use this and then pay the O(v + e) to-Vector cost once.
data Acc = Acc ![Vertex] !(HashSet Edge)
data Acc = Acc [Vertex] (HashSet Edge)
-- Convert a graph with tagged members to a protobuf-compatible adjacency list.
-- The Tag is necessary to build a canonical adjacency list.