Skip to content
Snippets Groups Projects
Commit 789c7029 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Teach Cabal about the PackageImports extension

parent 0817a613
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,12 @@ data Extension
| DeriveDataTypeable
| ConstrainedClassMethods
-- | Allow imports to be qualified by the package name that the module
-- is intended to be imported from, e.g.
--
-- > import "network" Network.Socket
| PackageImports
| UnknownExtension String
deriving (Show, Read, Eq)
......@@ -184,6 +190,7 @@ knownExtensions =
, UnboxedTuples
, DeriveDataTypeable
, ConstrainedClassMethods
, PackageImports
]
instance Text Extension where
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment