Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- resolveDims :: SymbolTable -> [DimensionDeclarator a] -> Maybe Dimensions
- dimDeclLooksLikeAssumedSize :: DimensionDeclarator a -> Bool
- dimDeclLooksLikeAssumedShape :: DimensionDeclarator a -> Bool
- evalStaticDimBoundExpr :: SymbolTable -> Expression a -> Either String Int
- evalDynamicDimBoundExpr :: SymbolTable -> Expression a -> Either String (Maybe Int)
- resolveDimsExplicitShape :: SymbolTable -> [DimensionDeclarator a] -> Either String [Dim (Maybe Int)]
- resolveDimExplicitShape :: SymbolTable -> DimensionDeclarator a -> Either String (Dim (Maybe Int))
- resolveDimsAssumedShape :: SymbolTable -> [DimensionDeclarator a] -> Either String [Maybe Int]
- resolveDimsAssumedSize :: SymbolTable -> [DimensionDeclarator a] -> Either String (Maybe [Dim (Maybe Int)], Maybe Int)
- resolveDimStar :: SymbolTable -> DimensionDeclarator a -> Either String (Maybe Int)
- resolveDimBoundStar :: Maybe (Expression a) -> Either String ()
Documentation
resolveDims :: SymbolTable -> [DimensionDeclarator a] -> Maybe Dimensions Source #
dimDeclLooksLikeAssumedSize :: DimensionDeclarator a -> Bool Source #
Assumed-size arrays have the special ValStar
upper bound (whereas
explicit-shape and assumed-shape arrays never do).
dimDeclLooksLikeAssumedShape :: DimensionDeclarator a -> Bool Source #
Assumed-shape arrays have no upper bounds (whereas explicit-shape and assumed-size arrays always do).
evalStaticDimBoundExpr :: SymbolTable -> Expression a -> Either String Int Source #
evalDynamicDimBoundExpr :: SymbolTable -> Expression a -> Either String (Maybe Int) Source #
resolveDimsExplicitShape :: SymbolTable -> [DimensionDeclarator a] -> Either String [Dim (Maybe Int)] Source #
resolveDimExplicitShape :: SymbolTable -> DimensionDeclarator a -> Either String (Dim (Maybe Int)) Source #
resolveDimsAssumedShape :: SymbolTable -> [DimensionDeclarator a] -> Either String [Maybe Int] Source #
resolveDimsAssumedSize :: SymbolTable -> [DimensionDeclarator a] -> Either String (Maybe [Dim (Maybe Int)], Maybe Int) Source #
resolveDimStar :: SymbolTable -> DimensionDeclarator a -> Either String (Maybe Int) Source #
resolveDimBoundStar :: Maybe (Expression a) -> Either String () Source #