So just so I get this straight, the following are equivalent to the computer, after compiling:

1.
fact = 10
{-# INLINE fact #-}

func x = x * fact

2.
func x = x * 10

I'm also curious as to what the {-# #-} brackets represent. I've never seen those before.

-Eitan
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to