Skip to content

Commit 022eada

Browse files
committed
Fixed warnings in Data/Vector/Fusion/Bundle/Size.hs
- exported lowerBound - eliminated unused bindings
1 parent 51a741a commit 022eada

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Data/Vector/Fusion/Bundle/Size.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
--
1212

1313
module Data.Vector.Fusion.Bundle.Size (
14-
Size(..), smaller, larger, toMax, upperBound
14+
Size(..), smaller, larger, toMax, upperBound, lowerBound
1515
) where
1616

1717
import Data.Vector.Fusion.Util ( delay_inline )
@@ -33,10 +33,10 @@ instance Num Size where
3333

3434

3535
Exact m - Exact n = Exact (m-n)
36-
Exact m - Max n = Max m
36+
Exact m - Max _ = Max m
3737

3838
Max m - Exact n = Max (m-n)
39-
Max m - Max n = Max m
39+
Max m - Max _ = Max m
4040
Max m - Unknown = Max m
4141

4242
_ - _ = Unknown

0 commit comments

Comments
 (0)