Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Variable = String
- absoluteRep :: Int
- type RegionEnv = [(String, RegionSum)]
- type SpecDecls = [([String], Specification)]
- pprintSpecDecls :: SpecDecls -> String
- lookupAggregate :: Eq a => [([a], b)] -> a -> [b]
- data Specification = Specification (Multiplicity (Approximation Spatial))
- isEmpty :: Specification -> Bool
- data Spatial = Spatial RegionSum
- fromBool :: Bool -> Linearity
- hasDuplicates :: Eq a => [a] -> ([a], Bool)
- setLinearity :: Linearity -> Specification -> Specification
- data Linearity
- type Dimension = Int
- type Depth = Int
- type IsRefl = Bool
- data Region where
- getDimension :: Region -> Dimension
- newtype RegionProd = Product {}
- newtype RegionSum = Sum {
- unSum :: [RegionProd]
- regionPlus :: Region -> Region -> Maybe Region
- class RegionRig t where
- showL :: Show a => [a] -> String
- showProdSpecs :: Show a => [a] -> String
- showSumSpecs :: Show a => [a] -> String
- showRegion :: (Show a, Show a1) => [Char] -> a1 -> a -> Bool -> [Char]
- groupKeyBy :: Eq b => [(a, b)] -> [([a], b)]
Documentation
0. Representations
absoluteRep :: Int Source #
1 . Specification syntax
type SpecDecls = [([String], Specification)] Source #
pprintSpecDecls :: SpecDecls -> String Source #
lookupAggregate :: Eq a => [([a], b)] -> a -> [b] Source #
data Specification Source #
isEmpty :: Specification -> Bool Source #
hasDuplicates :: Eq a => [a] -> ([a], Bool) Source #
setLinearity :: Linearity -> Specification -> Specification Source #
getDimension :: Region -> Dimension Source #
newtype RegionProd Source #
Sum | |
|
showProdSpecs :: Show a => [a] -> String Source #
showSumSpecs :: Show a => [a] -> String Source #
groupKeyBy :: Eq b => [(a, b)] -> [([a], b)] Source #