Using The results in a non-exhaustive pattern match:
sizedBounds :: SizedQuadTree r a -> SizedRegion r
sizedBounds (The qt) = coerce $ bounds qt
Pattern match(es) are non-exhaustive
In an equation for ‘sizedBounds’:
Patterns not matched: SizedQuadTree (QuadTree _ _)
|
59 | sizedBounds (The qt) = coerce $ bounds qt
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Using
The
results in a non-exhaustive pattern match: