We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
compareLength
1 parent aca65b3 commit c63dd72Copy full SHA for c63dd72
Data/ByteString/Lazy.hs
@@ -584,7 +584,6 @@ compareLength :: ByteString -> Int64 -> Ordering
584
compareLength _ toCmp | toCmp < 0 = GT
585
compareLength Empty toCmp = compare 0 toCmp
586
compareLength (Chunk c cs) toCmp = compareLength cs (toCmp - fromIntegral (S.length c))
587
-{-# INLINE compareLength #-}
588
589
{-# RULES
590
"ByteString.Lazy length/compareN -> compareLength" [~1] forall t n.
0 commit comments