Wed, 28 Mar 2001 21:11:59 +0200, [EMAIL PROTECTED] 
<[EMAIL PROTECTED]> pisze:

> The module Array exports module Ix (Haskell 98 Library Report).
> The module IArray doesn't export Ix (jet?).

Thanks, it will export it in ghc-5.00.

> I think a pack and unpack function to convert between IArray ix be
> and UArray ix ube via 'amap pack/unpack' would be useful.

Such conversion is as simple as
    \a -> listArray (bounds a) (elems a)
or
    \a -> array (bounds a) (assocs a)
so I don't think it needs a separate function.

-- 
 __("<  Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTÊPCZA
QRCZAK


_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to