| ghc-6.10.4: The GHC API | Contents | Index
OptimizationFuel
Documentation
data OptimizationFuel
Instances
Show OptimizationFuel
canRewriteWithFuel :: OptimizationFuel -> Bool
maybeRewriteWithFuel :: OptimizationFuel -> Maybe a -> Maybe a
oneLessFuel :: OptimizationFuel -> OptimizationFuel
data OptFuelState
initOptFuelState :: IO OptFuelState
tankFilledTo :: Int -> OptimizationFuel
diffFuel :: OptimizationFuel -> OptimizationFuel -> Int
type FuelConsumer a = OptimizationFuel -> (a, OptimizationFuel)
class Monad m => FuelUsingMonad m where
Methods
fuelRemaining :: m OptimizationFuel
fuelDecrement :: String -> OptimizationFuel -> OptimizationFuel -> m ()
fuelDec1 :: m ()
fuelExhausted :: m Bool
lastFuelPass :: m String
Instances
FuelUsingMonad FuelMonad
FuelUsingMonad (DFM' FuelMonad f)
data FuelState
runFuelIO :: OptFuelState -> FuelMonad a -> IO a
fuelConsumingPass :: String -> FuelConsumer a -> FuelMonad a
data FuelMonad a
Instances
Monad FuelMonad
MonadUnique FuelMonad
FuelUsingMonad FuelMonad
liftUniq :: UniqSM x -> FuelMonad x
lGraphOfGraph :: Graph m l -> FuelMonad (LGraph m l)
Produced by Haddock version 2.4.2