Skip to content

Commit 94e46c8

Browse files
larskuhtzandreasabel
authored andcommitted
support base_orphans >=0.9.3
1 parent 50b6325 commit 94e46c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

orphans/Generic/Data/Orphans.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
-- | Orphan instances.
1010
--
1111
-- The orphan instances in this module have been upstreamed in base 4.21 (GHC 9.12).
12+
-- The base_orphans package includes these instances from version 0.9.3 onward.
1213
-- This module is empty starting from that version. It remains for backwards compatiblity.
1314

1415
module Generic.Data.Orphans where
1516

16-
#if __GLASGOW_HASKELL__ < 912
17+
#if __GLASGOW_HASKELL__ < 912 && !MIN_VERSION_base_orphans(0,9,3)
1718
import Data.Functor.Classes
1819
import Data.Orphans ()
1920
import Data.Semigroup

0 commit comments

Comments
 (0)