[Haskell-cafe] Re: Bytes to float

2006-06-02 Thread Simon Marlow
Ivan Tikhonov wrote: Hello. I have 4 bytes long String and i want to convert it to Float. How can i do this in Haskell? Don't want to use Ptr's. Try this: :m +Data.Array.IO Data.Word x - newListArray (0,3) [0,0,40,66] :: IO (IOUArray Int Word8) y - castIOUArray x :: IO (IOUArray Int

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-02 Thread Malcolm Wallace
Brian Hulley [EMAIL PROTECTED] wrote: Thanks for pointing this out. Although there is still a problem with the fact that var, qvar, qcon etc is in the context free syntax instead of the lexical syntax so you could write: 2 `plus ` 4 (Prelude.+

Re: [Haskell-cafe] Efficient way to edit a file

2006-06-02 Thread David Roundy
On Fri, Jun 02, 2006 at 12:34:51PM +1000, Donald Bruce Stewart wrote: dons: briqueabraque: Hi, I need to edit big text files (5 to 500 Mb). But I just need to change one or two small lines, and save it. What is the best way to do that in Haskell, without creating copies of

Re: [Haskell-cafe] Re: Editors for Haskell

2006-06-02 Thread Brian Hulley
Simon Marlow wrote: Malcolm Wallace wrote: Brian Hulley [EMAIL PROTECTED] wrote: Thanks for pointing this out. Although there is still a problem with the fact that var, qvar, qcon etc is in the context free syntax instead of the lexical syntax so you could write: 2 `plus `

Re: [Haskell-cafe] Eclipse and Haskell

2006-06-02 Thread SevenThunders
Are there Haskell specific tools for Eclipse? My experience so far has been somewhat negative. I tried to use eclipse with D some time ago, but the plugin kept crashing and Eclipse seems to have kind of a mind of it's own. I think for java development it's highly regarded. Everytime I try one