Re: [Haskell-cafe] Hacking Hawk

2006-03-06 Thread Cale Gibbard
You may wish to read http://www.haskell.org/haskellwiki/Arrays which is quite a good tutorial on how the various array types and classes work. - Cale On 01/03/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hawk didn't updated from GHC v4.04. It does contain dependencies on functions that are

[Haskell-cafe] Hacking Hawk

2006-03-01 Thread [EMAIL PROTECTED]
Hawk didn't updated from GHC v4.04. It does contain dependencies on functions that are present in my current (6.04) GHC distribution, but they are not documented. Those functions and constructors are (just a error log from ghc): --- AQ.lhs:17:16: Not in scope: type

Re: [Haskell-cafe] Hacking Hawk

2006-03-01 Thread Iavor Diatchki
Hello, I am not familiar with the details of Hawk, but you can find STArray in Data.Array.ST, and the functions to read, write, and create them are 'readArray', 'writeArray', and 'newArray' (see Data.Array.MArray). -Iavor On 3/1/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hawk didn't updated