That was it!

On Tue, Jul 31, 2012 at 3:34 PM, Jan-Willem Maessen
<[email protected]>wrote:

>
>
> On Tue, Jul 31, 2012 at 5:52 PM, KC <[email protected]> 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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to