tip-haskell-frontend-0.2: Convert from Haskell to Tip

Safe HaskellNone
LanguageHaskell2010

Tip.HaskellFrontend

Description

The Haskell frontend to Tip

Synopsis

Documentation

readHaskellFile :: FilePath -> Params -> IO (Either String (Theory Id)) Source

Transforms a Haskell file to a Tip Theory or an error

readHaskellOrTipFile :: FilePath -> Params -> IO (Either String (Theory (Either Id Id))) Source

If the file cannot be read as a TIP file, it is instead read as a Haskell file.

data Id Source

A representation of identifiers that come from GHC.

The PrettyVar instance is one way to print the names.

Instances

data Params Source

Parameters

Constructors

Params 

Fields

include :: [FilePath]

Directories to include

debug_flags :: [DebugFlag]

Debugging flags

prop_names :: Maybe [String]

Only consider these properties

extra_names :: [String]

Extra names to consider

Instances

defaultParams :: Params Source

Default (empty) parameters