INLINE:
- no effect for a recursive function
- for a non-recursive function, always inline a call that
(a) is applied to as many args as the LHS of the defn
(b) has some interesting context. Ie (\y x- f x y) doesn't
inline f
INLINEABLE
a) For type-class
On Thu, Jun 9, 2011 at 1:43 PM, Simon Peyton-Jones
simo...@microsoft.com wrote:
Does that help?
Definitely. Thanks!
Johan
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
On 09/06/2011 12:43, Simon Peyton-Jones wrote:
INLINE:
- no effect for a recursive function
- for a non-recursive function, always inline a call that
(a) is applied to as many args as the LHS of the defn
(b) has some interesting context. Ie (\y x- f x y) doesn't