Skip to content

Commit 5c1ce92

Browse files
int-indextreeowl
authored andcommitted
Enable TypeOperators to use (~)
GHC Proposal #371 requires TypeOperators to use type equality a~b. The following lines are affected: containers/src/Data/Sequence/Internal.hs 4416:instance a ~ Char => IsString (Seq a) where The fix is to simply enable the extension.
1 parent f5a511f commit 5c1ce92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

containers/src/Data/Sequence/Internal.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{-# LANGUAGE ViewPatterns #-}
1616
#endif
1717
{-# LANGUAGE PatternGuards #-}
18+
{-# LANGUAGE TypeOperators #-}
1819

1920
{-# OPTIONS_HADDOCK not-home #-}
2021
{-# OPTIONS_GHC -fno-warn-incomplete-uni-patterns #-}

0 commit comments

Comments
 (0)