[project @ 1996-02-06 14:32:22 by dnt]
[ghc-hetmet.git] / ghc / compiler / simplCore / SetLevels.hi
1 {-# GHC_PRAGMA INTERFACE VERSION 5 #-}
2 interface SetLevels where
3 import CmdLineOpts(GlobalSwitch)
4 import CoreSyn(CoreBinding)
5 import Id(Id)
6 import Outputable(Outputable)
7 import SplitUniq(SplitUniqSupply)
8 data Level   = Level Int Int | Top
9 incMinorLvl :: Level -> Level
10 isTopLvl :: Level -> Bool
11 ltLvl :: Level -> Level -> Bool
12 ltMajLvl :: Level -> Level -> Bool
13 setLevels :: [CoreBinding Id Id] -> (GlobalSwitch -> Bool) -> SplitUniqSupply -> [CoreBinding (Id, Level) Id]
14 tOP_LEVEL :: Level
15 instance Outputable Level
16