| > Does inlining work with any function definitions (including those
| > defined locally following a where.. say), or only with top level
| > function definitions?

If you mean

        In GHC, if I use an {-# INLINE #-} pragma on a
        nested function definition, should it be inlined?

then the answer is yes, unless the function is recursive in which case
the pragma is ignored.

Do you have reason to suppose the contrary?  If so, do send a test case

Simon


_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to