| data Pair = Pair !Int# !Int#
|
| f (Pair x y) = x +# y
|
| I still discovered to my dismay that the type of the first
| argument to f is U(LL).
|
| What can I do to force the arguments to be strict?
Int# is *always* strict. You don't need the !'s. The L is
misleading, I suppose. But
Lately, I've been attempting to improve the performance of a highly
numerically intensive program.
Yet try as I might I cannot seem to define (nor find) an addition function
that is strict in both its arguments.
Using the advice found in the GHC Users Guide I have looked inside the .hi
file and