Commit fd88de19 authored by Michael Hanus 's avatar Michael Hanus
Browse files

Imports updated

parents 6c0d285c 6f93e9ce
Pipeline #318 failed with stages
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
"cass" : ">= 2.0.0", "cass" : ">= 2.0.0",
"cdbi" : ">= 2.0.0", "cdbi" : ">= 2.0.0",
"currycheck" : ">= 2.0.0", "currycheck" : ">= 2.0.0",
"currypath" : ">= 0.0.1",
"fl-parser" : ">= 1.0.0", "fl-parser" : ">= 1.0.0",
"html" : ">= 2.0.0", "html" : ">= 2.0.0",
"regexp" : ">= 1.1.0", "regexp" : ">= 1.1.0",
......
...@@ -11,30 +11,33 @@ ...@@ -11,30 +11,33 @@
--- > Declarative Languages (PADL 2012), pp. 33-47, Springer LNCS 7149, 2012 --- > Declarative Languages (PADL 2012), pp. 33-47, Springer LNCS 7149, 2012
--- ---
--- @author Michael Hanus --- @author Michael Hanus
--- @version October 2016 --- @version December 2018
------------------------------------------------------------------------ ------------------------------------------------------------------------
module TransContracts(main,transContracts) where module TransContracts(main,transContracts) where
import Char
import Directory
import Distribution ( installDir )
import FilePath ( takeDirectory )
import List
import Maybe ( fromJust, isNothing )
import System
import AbstractCurry.Types import AbstractCurry.Types
import AbstractCurry.Files import AbstractCurry.Files
import AbstractCurry.Pretty import AbstractCurry.Pretty
import AbstractCurry.Build import AbstractCurry.Build
import AbstractCurry.Select import AbstractCurry.Select
import AbstractCurry.Transform import AbstractCurry.Transform
import Char
import ContractUsage import ContractUsage
import Directory import System.CurryPath ( lookupModuleSourceInLoadPath, modNameToPath
import Distribution , stripCurrySuffix)
import FilePath (takeDirectory)
import List
import Maybe (fromJust, isNothing)
import System
-- in order to use the determinism analysis: -- in order to use the determinism analysis:
import Analysis.ProgInfo (ProgInfo, lookupProgInfo) import Analysis.ProgInfo ( ProgInfo, lookupProgInfo )
import Analysis.Deterministic (Deterministic(..), nondetAnalysis) import Analysis.Deterministic ( Deterministic(..), nondetAnalysis )
import CASS.Server (analyzeGeneric) import CASS.Server ( analyzeGeneric )
import SimplifyPostConds import SimplifyPostConds
import TheoremUsage import TheoremUsage
......
...@@ -3,21 +3,20 @@ ...@@ -3,21 +3,20 @@
--- and deterministic functions. --- and deterministic functions.
--- ---
--- @author Michael Hanus --- @author Michael Hanus
--- @version October 2018 --- @version December 2018
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
import Distribution ( curryCompiler )
import FilePath ( takeDirectory )
import List ( partition )
import AbstractCurry.Types import AbstractCurry.Types
import AbstractCurry.Files import AbstractCurry.Files
import AbstractCurry.Select import AbstractCurry.Select
import AbstractCurry.Build import AbstractCurry.Build
import AbstractCurry.Pretty import AbstractCurry.Pretty
import Char(isDigit,digitToInt)
import DefaultRuleUsage import DefaultRuleUsage
import Directory import System.CurryPath ( modNameToPath )
import Distribution
import FilePath (takeDirectory)
import List(isPrefixOf,isSuffixOf,partition)
import System
import TheoremUsage ( determinismTheoremFor, existsProofFor import TheoremUsage ( determinismTheoremFor, existsProofFor
, getModuleProofFiles, isProofFileNameFor ) , getModuleProofFiles, isProofFileNameFor )
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
--- is supported (option `foreigncode`, see module `Translator`). --- is supported (option `foreigncode`, see module `Translator`).
--- ---
--- @author Michael Hanus --- @author Michael Hanus
--- @version January 2018 --- @version December 2018
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
import AbstractCurry.Types import AbstractCurry.Types
...@@ -16,11 +16,12 @@ import AbstractCurry.Pretty(showCProg) ...@@ -16,11 +16,12 @@ import AbstractCurry.Pretty(showCProg)
import AbstractCurry.Select(progName) import AbstractCurry.Select(progName)
import Char(isDigit,digitToInt,isSpace) import Char(isDigit,digitToInt,isSpace)
import Directory(copyFile,renameFile) import Directory(copyFile,renameFile)
import Distribution
import FilePath import FilePath
import List import List
import System import System
import System.CurryPath ( stripCurrySuffix )
import TransICode (translateIntCode) import TransICode (translateIntCode)
import TransDefRules (transDefaultRules) import TransDefRules (transDefaultRules)
import TransContracts (transContracts) import TransContracts (transContracts)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment