Skip to content

Commit

Permalink
Try to support ghc-8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts committed Feb 3, 2025
1 parent 5e55b46 commit cac10ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Database/LSMTree/Internal/MergingRun.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE TypeFamilies #-}
Expand Down Expand Up @@ -367,7 +368,9 @@ pattern CreditsPair :: SpentCredits -> UnspentCredits -> Int
pattern CreditsPair sc uc <- (unpackCreditsPair -> (sc, uc))
where
CreditsPair sc uc = packCreditsPair sc uc
#if MIN_VERSION_GLASGOW_HASKELL(9,0,0,0)
{-# INLINE CreditsPair #-}
#endif
{-# COMPLETE CreditsPair #-}

{-# INLINE packCreditsPair #-}
Expand Down

0 comments on commit cac10ef

Please sign in to comment.