Skip to content

Commit 6d3cb9f

Browse files
andrewthadbgamari
authored andcommitted
Bump GHC version in ifdefs to 901
1 parent a005d5c commit 6d3cb9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Data/Binary/Class.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ import Numeric.Natural
110110

111111
import qualified Data.Fixed as Fixed
112112

113-
#if __GLASGOW_HASKELL__ >= 811
113+
#if __GLASGOW_HASKELL__ >= 901
114114
import GHC.Exts (Levity(Lifted,Unlifted))
115115
#endif
116116

@@ -889,7 +889,7 @@ instance Binary RuntimeRep where
889889
put (VecRep a b) = putWord8 0 >> put a >> put b
890890
put (TupleRep reps) = putWord8 1 >> put reps
891891
put (SumRep reps) = putWord8 2 >> put reps
892-
#if __GLASGOW_HASKELL__ >= 811
892+
#if __GLASGOW_HASKELL__ >= 901
893893
put (BoxedRep Lifted) = putWord8 3
894894
put (BoxedRep Unlifted) = putWord8 4
895895
#else
@@ -920,7 +920,7 @@ instance Binary RuntimeRep where
920920
0 -> VecRep <$> get <*> get
921921
1 -> TupleRep <$> get
922922
2 -> SumRep <$> get
923-
#if __GLASGOW_HASKELL__ >= 811
923+
#if __GLASGOW_HASKELL__ >= 901
924924
3 -> pure (BoxedRep Lifted)
925925
4 -> pure (BoxedRep Unlifted)
926926
#else

0 commit comments

Comments
 (0)