camfort-0.802: CamFort - Cambridge Fortran infrastructure

Safe HaskellNone
LanguageHaskell98

Camfort.Specification.Stencils

Synopsis

Documentation

data InferMode Source #

Instances

Eq InferMode Source # 
Data InferMode Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InferMode -> c InferMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InferMode #

toConstr :: InferMode -> Constr #

dataTypeOf :: InferMode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InferMode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InferMode) #

gmapT :: (forall b. Data b => b -> b) -> InferMode -> InferMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InferMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InferMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> InferMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InferMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InferMode -> m InferMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InferMode -> m InferMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InferMode -> m InferMode #

Read InferMode Source # 
Show InferMode Source # 
Default InferMode Source # 

infer :: InferMode -> Filename -> ProgramFile Annotation -> (String, ProgramFile Annotation) Source #

check :: Filename -> ProgramFile Annotation -> String Source #

synth :: InferMode -> [(Filename, ProgramFile A)] -> (String, [(Filename, ProgramFile Annotation)]) Source #

findVarFlowCycles :: Data a => ProgramFile a -> [(Name, Name)] Source #

Return list of variable names that flow into themselves via a 2-cycle