On Tue, 15 May 2001, Matt Harden wrote:

[..]

> I would like _any_ pair of Ints to be an acceptable boundary for the
> honeycomb, not just the ones that represent valid indexes.  For example,
> (Hx (0,0), Hx (15,12)) should be a valid set of bounds.  The current
> definition of rangeSize makes this impossible, which is why I would like
> to override it.  By the way, the Library Report does not explicitly say
> that the bounds have to both be valid indexes, though it does imply this
> with the sample definition of rangeSize.

        There is an old article [1], that is somehow related to
        what you do. Looks like it could add some extra fuel to your
        arguments if re-examined in terms of current Haskell.

        [It might be also interesting to those discussing arrays
        in the other thread.] 

        Jan

        [1] D.B. Carpenter, Some Lattice-based Scientific Problems,
        Expressed in Haskell, http://citeseer.nj.nec.com/157672.html



_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to