Fwd: [Haskell-beginners] Array and IArray
Rafael Gustavo da Cunha Pereira Pinto
RafaelGCPP.Linux at gmail.com
Thu Feb 26 16:55:31 EST 2009
IArray define TONS of instances of IArray class...
You will surely have to define a type for your expression.
For your example you could use:
arr::Array Int Int
On Thu, Feb 26, 2009 at 18:19, Daniel Fischer <daniel.is.fischer at web.de>wrote:
> Am Donnerstag, 26. Februar 2009 21:59 schrieb Rafael Gustavo da Cunha
> Pereira
> Pinto:
> > Please, post the error messages.
> >
> > Maybe all is needed is an explicit type declaration...
>
> Yup!
> Are you an experienced victim of the monomorphism restriction?
>
> Cheers,
> Daniel
>
>
--
Rafael Gustavo da Cunha Pereira Pinto
Electronic Engineer, MSc.
--
Rafael Gustavo da Cunha Pereira Pinto
Electronic Engineer, MSc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20090226/ffcb5926/attachment-0001.htm
More information about the Beginners
mailing list