Brian wrote:

> However if I had to guess, it seems to me that you want to read the
data into 
> a list and then find some ST function which can initialize an
array using a list (maybe ?)

It is the other way around. I want to avoit lists. I would like to read the 
array elements from a file, and store then directly into the array. This 
approach would spare me from writing using a possibly expensive heap hungry 
intermediate structure.

--- On Tue, 11/3/09, brian <bri...@aracnet.com> wrote:

From: brian <bri...@aracnet.com>
Subject: Re: [Haskell-cafe] Arrays in Clean and Haskell
To: "Philippos Apolinarius" <phi50...@yahoo.ca>
Cc: haskell-cafe@haskell.org
Received: Tuesday, November 3, 2009, 9:34 PM


On Nov 3, 2009, at 7:38 PM, Philippos Apolinarius wrote:

> Brian wrote:
> > Really, arrays in Haskell are the most @#!$! confusing thing in the world.
> 
> Hi, Brian.
> I am having a great difficulty with arrays in Haskell.  In the university 
> where I study, functional programming is taught in Clean or in

me too :-)

> And here comes the reason for writing this article. In the previous version 
> of the Gauss elimination algorithm, I have imported

you're asking me ??  I have no idea.  I can't even figure out which package to 
use.

However if I had to guess, it seems to me that you want to read the data into a 
list and then find some ST function which can initialize an array using a list 
(maybe ?)

Brian




      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to