Skip to content

Commit 97980d2

Browse files
committed
Drop 'Default Bool' instance for data-default >= 0.8
1 parent bad67b3 commit 97980d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ihp/IHP/ModelSupport.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,11 @@ instance Default Text where
181181
{-# INLINE def #-}
182182
def = ""
183183

184+
#if !MIN_VERSION_data_default(0,8,0)
184185
instance Default Bool where
185186
{-# INLINE def #-}
186187
def = False
188+
#endif
187189

188190
instance Default Point where
189191
def = Point def def

0 commit comments

Comments
 (0)