That was it!

On Tue, Jul 31, 2012 at 3:34 PM, Jan-Willem Maessen <jmaessen@alum.mit.edu> wrote:


On Tue, Jul 31, 2012 at 5:52 PM, KC <kc1956@gmail.com> wrote:
All I am getting is this:
array ((1,5),(1,5)) [((1,5),1.0)]

Maybe the behaviour of ghc was changed since the article was written.

I think you've made a common mistake here.  Array bounds are (lower in all dimensions, upper in all dimensions).  So perhaps you intended to use the bounds ((1,1), (5,5)) in your code?

I make this mistake frequently.

-Jan-Willem Maessen



--
--
Regards,
KC