ajhc-0.8.0.7: Haskell compiler that produce binary through C language

Safe HaskellNone

E.Inline

Synopsis

Documentation

app :: MonadStats m => (E, [E]) -> m ESource

programMapRecGroupsSource

Arguments

:: Monad m 
=> IdMap (Maybe E)

initial map to apply

-> (Id -> Info -> m Info)

annotate based on Id map

-> (E -> Info -> m Info)

annotate letbound bindings

-> (E -> Info -> m Info)

annotate lambdabound bindings

-> ((Bool, [Comb]) -> m [Comb])

bool is true if group is recursive.

-> Program 
-> m Program 

Map recursive groups, allowing an initial map to be passed in and it will also propagate changes in the tvrInfo properly, and make sure nothing shadows one of the global names.

programMapProgGroupsSource

Arguments

:: Monad m 
=> IdMap (Maybe E)

initial map to apply

-> (Program -> m Program) 
-> Program 
-> m Program 

baseInlinability :: (Num a, HasProperties a1) => a1 -> E -> aSource

higher numbers mean we want to inline it more