[Git][ghc/ghc][wip/26699] Adding some more modules to cabal file
recursion-ninja pushed to branch wip/26699 at Glasgow Haskell Compiler / GHC Commits: e4bfcc5b by Recursion Ninja at 2026-01-27T23:03:59-05:00 Adding some more modules to cabal file - - - - - 1 changed file: - compiler/GHC/Types/ImportLevel.hs Changes: ===================================== compiler/GHC/Types/ImportLevel.hs ===================================== @@ -13,16 +13,16 @@ module GHC.Types.ImportLevel ( import GHC.Prelude -import GHC.Utils.Outputable import GHC.Utils.Binary +import GHC.Utils.Outputable import Language.Haskell.Syntax.ImpExp import Data.Data -- | ImportLevel - -data ImportLevel = NormalLevel | SpliceLevel | QuoteLevel deriving (Eq, Ord, Data, Show, Enum, Bounded) +data ImportLevel = NormalLevel | SpliceLevel | QuoteLevel + deriving (Eq, Ord, Data, Show, Enum, Bounded) instance Outputable ImportLevel where ppr NormalLevel = text "normal" @@ -32,7 +32,7 @@ instance Outputable ImportLevel where deriving via (EnumBinary ImportLevel) instance Binary ImportLevel allImportLevels :: [ImportLevel] -allImportLevels = [minBound..maxBound] +allImportLevels = [minBound .. maxBound] convImportLevel :: ImportDeclLevelStyle -> ImportLevel convImportLevel (LevelStylePre level) = convImportLevelSpec level View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e4bfcc5b92f45204887faf230c627204... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e4bfcc5b92f45204887faf230c627204... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
recursion-ninja (@recursion-ninja)