Copyright | (c) 2000 - 2004 Wolfgang Lux 2011 - 2013 Björn Peemöller |
---|---|
License | BSD-3-clause |
Maintainer | bjp@informatik.uni-kiel.de |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
The compiler maintains a global environment holding all (directly or indirectly) imported interface declarations for a module.
This module contains a function to load *all* interface declarations declared by the (directly or indirectly) imported modules, regardless whether they are included by the import specification or not.
The declarations are later brought into the scope of the module via the
function importModules
, see module Imports.
Interface files are updated by the Curry builder when necessary, see module CurryBuilder.
Synopsis
- loadInterfaces :: [FilePath] -> Module a -> CYIO InterfaceEnv
Documentation
:: [FilePath] |
|
-> Module a |
|
-> CYIO InterfaceEnv |
Load the interfaces needed by a given module.
This function returns an InterfaceEnv
containing the Interface
s which
were successfully loaded.