Commit fd88de19 authored by Michael Hanus 's avatar Michael Hanus

Imports updated

parents 6c0d285c 6f93e9ce
Pipeline #318 failed with stages
......@@ -11,6 +11,7 @@
"cass" : ">= 2.0.0",
"cdbi" : ">= 2.0.0",
"currycheck" : ">= 2.0.0",
"currypath" : ">= 0.0.1",
"fl-parser" : ">= 1.0.0",
"html" : ">= 2.0.0",
"regexp" : ">= 1.1.0",
......
......@@ -11,30 +11,33 @@
--- > Declarative Languages (PADL 2012), pp. 33-47, Springer LNCS 7149, 2012
---
--- @author Michael Hanus
--- @version October 2016
--- @version December 2018
------------------------------------------------------------------------
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.Files
import AbstractCurry.Pretty
import AbstractCurry.Build
import AbstractCurry.Select
import AbstractCurry.Transform
import Char
import ContractUsage
import Directory
import Distribution
import FilePath (takeDirectory)
import List
import Maybe (fromJust, isNothing)
import System
import System.CurryPath ( lookupModuleSourceInLoadPath, modNameToPath
, stripCurrySuffix)
-- in order to use the determinism analysis:
import Analysis.ProgInfo (ProgInfo, lookupProgInfo)
import Analysis.Deterministic (Deterministic(..), nondetAnalysis)
import CASS.Server (analyzeGeneric)
import Analysis.ProgInfo ( ProgInfo, lookupProgInfo )
import Analysis.Deterministic ( Deterministic(..), nondetAnalysis )
import CASS.Server ( analyzeGeneric )
import SimplifyPostConds
import TheoremUsage
......
......@@ -3,23 +3,22 @@
--- and deterministic functions.
---
--- @author Michael Hanus
--- @version October 2018
--- @version December 2018
-----------------------------------------------------------------------------
import Distribution ( curryCompiler )
import FilePath ( takeDirectory )
import List ( partition )
import AbstractCurry.Types
import AbstractCurry.Files
import AbstractCurry.Select
import AbstractCurry.Build
import AbstractCurry.Pretty
import Char(isDigit,digitToInt)
import DefaultRuleUsage
import Directory
import Distribution
import FilePath (takeDirectory)
import List(isPrefixOf,isSuffixOf,partition)
import System
import TheoremUsage ( determinismTheoremFor, existsProofFor
, getModuleProofFiles, isProofFileNameFor )
import System.CurryPath ( modNameToPath )
import TheoremUsage ( determinismTheoremFor, existsProofFor
, getModuleProofFiles, isProofFileNameFor )
--------------------------------------------------------------------
......
......@@ -7,7 +7,7 @@
--- is supported (option `foreigncode`, see module `Translator`).
---
--- @author Michael Hanus
--- @version January 2018
--- @version December 2018
------------------------------------------------------------------------------
import AbstractCurry.Types
......@@ -16,11 +16,12 @@ import AbstractCurry.Pretty(showCProg)
import AbstractCurry.Select(progName)
import Char(isDigit,digitToInt,isSpace)
import Directory(copyFile,renameFile)
import Distribution
import FilePath
import List
import System
import System.CurryPath ( stripCurrySuffix )
import TransICode (translateIntCode)
import TransDefRules (transDefaultRules)
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