<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Brian wrote:<br><br>> However if I had to guess, it seems to me that you want to read the
data into <br>> a list and then find some ST function which can initialize an
array using a list (maybe ?)<br><br>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.<br><br>--- On <b>Tue, 11/3/09, brian <i><briand@aracnet.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: brian <briand@aracnet.com><br>Subject: Re: [Haskell-cafe] Arrays in Clean and Haskell<br>To: "Philippos Apolinarius" <phi500ac@yahoo.ca><br>Cc: haskell-cafe@haskell.org<br>Received: Tuesday, November 3, 2009, 9:34 PM<br><br><div class="plainMail"><br>On Nov 3, 2009, at 7:38 PM, Philippos Apolinarius wrote:<br><br>> Brian wrote:<br>> > Really, arrays in Haskell are the most @#!$! confusing thing in the world.<br>> <br>> Hi, Brian.<br>> I am having a great
difficulty with arrays in Haskell. In the university where I study, functional programming is taught in Clean or in<br><br>me too :-)<br><br>> And here comes the reason for writing this article. In the previous version of the Gauss elimination algorithm, I have imported<br><br>you're asking me ?? I have no idea. I can't even figure out which package to use.<br><br>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 ?)<br><br>Brian<br><br></div></blockquote></td></tr></table><br>
<p class="MsoNormal"> </p>
<tbody><tr>
<td style="padding: 0.75pt;">
<div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="1" width="100%">
</span></font></div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><img id="_x0000_i1026" src="http://us.i1.yimg.com/us.yimg.com/i/ca/iotg_search.jpg" align="absbottom" border="0" height="25" hspace="4" width="25"><a href="http://ca.toolbar.yahoo.com/" target="_new"><b><span style="font-weight: bold;" lang="NO-BOK">Yahoo!
Canada Toolbar :</span></b><span lang="NO-BOK"> Search from anywhere on
the web and bookmark your favourite sites. Download it now! </span></a>
</span></font><span lang="NO-BOK"><o:p></o:p></span></p>