You could always make the matrix type itself strict by marking its
components with '!'. That way, any time a matrix is touched, all of
its components will be evaluated. That, for example, is how the
Complex type is implemented.
--
Dan

On 3/17/07, DavidA <[EMAIL PROTECTED]> wrote:
Hi,

Thanks for the suggestions. A few more questions.

The (<<*>>) function is just one of a number of lazy matrix arithmetic
functions that I have. If I need them to be evaluated strictly, is it best to
modify the matrix code, or the code that's calling it?
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to