Safe Haskell | None |
---|---|
Language | Haskell98 |
MagicHaskeller.Expression
Documentation
class (Ord e, Show e) => Expression e where Source
Minimal complete definition
mkHead, toCE, fromCE, mapCE, aeAppErr, appEnv, toAnnExpr, toAnnExprWind, toAnnExprWindWind, fromAnnExpr, reorganize, reorganize', reorganizeId, replaceVars'
Methods
mkHead :: (Integral i, Integral j) => (CoreExpr -> Dynamic) -> i -> j -> CoreExpr -> e Source
fromCE :: (CoreExpr -> Dynamic) -> CoreExpr -> e Source
mapCE :: (CoreExpr -> CoreExpr) -> e -> e Source
aeAppErr :: String -> e -> e -> e Source
appEnv :: Int8 -> e -> e -> e Source
toAnnExpr :: (CoreExpr -> Dynamic) -> e -> AnnExpr Source
toAnnExprWind :: (CoreExpr -> Dynamic) -> Type -> e -> AnnExpr Source
toAnnExprWindWind :: (CoreExpr -> Dynamic) -> Type -> e -> AnnExpr Source
fromAnnExpr :: AnnExpr -> e Source
reorganize :: Monad m => ([Type] -> m [e]) -> [Type] -> m [e] Source
reorganize' :: Monad m => ([Type] -> m [e]) -> [Type] -> m [e] Source
reorganizeId :: ([Type] -> [e]) -> [Type] -> [e] Source
replaceVars' :: Int8 -> e -> [Int8] -> e Source
reorganizeId' :: Functor m => ([Type] -> m e) -> [Type] -> m e Source
Instances
(<$>) :: Expression e => e -> e -> e Source
finiteDynar :: Array (Int8, Int8) Dynamic Source
finiteDynss :: [[Dynamic]] Source
finiteDynsss :: [[[Dynamic]]] Source
getDyn_LambdaBoundHead :: Int8 -> Int8 -> Int8 -> Dynamic Source
mkDyn_LambdaBoundHead :: Int8 -> Int8 -> Int8 -> Dynamic Source
reorganizer :: Monad m => ([Type] -> m [CoreExpr]) -> [Type] -> m [CoreExpr] Source
reorganizerId :: ([Type] -> [CoreExpr]) -> [Type] -> [CoreExpr] Source
reorganizeCE' :: Monad m => ([Type] -> m [CoreExpr]) -> [Type] -> m [CoreExpr] Source
cvtAvails' :: [Type] -> ([Int8], [Type]) Source
uniqSorter :: Expression e => [(e, Int)] -> [(e, Int)] Source
uniqSortPatAVL :: Expression e => [(e, Int)] -> [(e, Int)] Source
uniqSortAVL :: Ord a => [a] -> [a] Source
swapUniqSort :: (Ord a, Ord b) => [(a, b)] -> [(a, b)] Source
printTables :: IO () Source
printTable :: IO () Source
pprintType :: Type -> String Source