Copyright | (c) 2002 - 2004 Wolfgang Lux 2005 Martin Engelke 2007 Sebastian Fischer 2011 - 2013 Björn Peemöller 2016 - 2017 Finn Teegen |
---|---|
License | BSD-3-clause |
Maintainer | bjp@informatik.uni-kiel.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This module implements the functions to compute the dependency information between Curry modules. This is used to create Makefile dependencies and to update programs composed of multiple modules.
Synopsis
- data Source
- flatDeps :: Options -> FilePath -> CYIO [(ModuleIdent, Source)]
- deps :: Options -> SourceEnv -> FilePath -> CYIO SourceEnv
- flattenDeps :: SourceEnv -> ([(ModuleIdent, Source)], [Message])
- sourceDeps :: Options -> SourceEnv -> FilePath -> CYIO SourceEnv
- moduleDeps :: Options -> SourceEnv -> FilePath -> Module a -> CYIO SourceEnv
Documentation
Different types of source files
Source FilePath [ModulePragma] [ModuleIdent] | A source file with pragmas and module imports |
Interface FilePath | An interface file |
Unknown | An unknown file |
flatDeps :: Options -> FilePath -> CYIO [(ModuleIdent, Source)] Source #
Retrieve the dependencies of a source file in topological order and possible errors during flattering
deps :: Options -> SourceEnv -> FilePath -> CYIO SourceEnv Source #
Retrieve the dependencies of a source file as a SourceEnv
flattenDeps :: SourceEnv -> ([(ModuleIdent, Source)], [Message]) Source #