-mkNDPImports :: Bool -> [LImportDecl RdrName]
-mkNDPImports False = []
-mkNDPImports True = [ndpImportDecl]
- where
- ndpImportDecl
- = L loc $
- ImportDecl (L loc nDP_INTERFACE_NAME)
- False -- not a boot interface
- True -- qualified
- (Just nDP_BUILTIN) -- "as"
- Nothing -- no import list
-
- loc = mkGeneralSrcSpan FSLIT("Implicit import declaration")
-