ajhc- Haskell compiler that produce binary through C language

Safe HaskellNone




primIsCheap :: Prim -> BoolSource

These primitives may safely be duplicated without affecting performance or correctness too adversly. either because they are cheap to begin with, or will be recombined in a later pass.

primIsConstant :: Prim -> BoolSource

whether a primitive represents a constant expression (assuming all its arguments are constant) TODO needs grin support

primEagerSafe :: Prim -> BoolSource

whether a primitive can be eagarly evaluated. TODO needs grin support