Skip to content

Shorter qualified import statements

I would like to be able to write imports like

import qualified Data.Vector as V (Vector, fromList)
import Data.Vector ((!), (//))

as a single statement, like

import qualified Data.Vector ((!), (//)) as V (Vector, fromList)

Which seems to be compatible with the current import statement.

Trac metadata
Trac field Value
Version 7.2.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information