[Haskell] reading binary files

2006-04-05 Thread minh thu
hi all, two things: 1/ i do something and i'd like to know if it is correct 2/ i propose something about 1/ 1/ i want to read some binary file (e.g. targa file format : *.tga). i do this : -- first way : via IOUArray showInfoHeader1 handle = do a <- newArray_ (1,8) :: IO (IOUArray Int Word

Re: [Haskell] What's up with this Haskell runtime error message:

2006-04-05 Thread Garrett Mitchener
> > GHC gives: Fail: <> > > Hugs gives: [(ERROR - C stack overflow > This usually means that you programmed some kind of circular definition, as in main = let x = x :: Int in print x This is not the same as a self-referential data structure like an infinite list, as in let ones = 1

[Haskell] What's up with this Haskell runtime error message:

2006-04-05 Thread Michael Goodrich
Greetings All: GHC gives: Fail: <> Hugs gives: [(ERROR - C stack overflow cheers, -Mike ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

RE: [Haskell] haskell-in-a-box?

2006-04-05 Thread Assini, Pasqualino
Many thanks for the links. Has anyone tried to squeeze House in a VMWare or XEN virtual machine? Best, titto - Pasqualino "Titto" Assini E-mail: [EMAIL PROTECTED] Skype: tittoassini MSN : [EMAIL PROTECTED] > -Original Message- > From: Jared Updike [mailto:

RE: [Haskell] haskell-in-a-box?

2006-04-05 Thread Assini, Pasqualino
Very cool. Has anyone experience of using House? If it is reliable and it supports enough of the GHC libraries to run the Haskell Web Server (http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/#wsp) we are in business :-) titto - Pasqualino "Titto" Assin

Re: [Haskell] haskell-in-a-box?

2006-04-05 Thread Jared Updike
> And: has anyone already built a 'haskell-in-a-box' virtual machine? Some are working on an all-Haskell-boots-from-scratch OS: House (Haskell User's Operating System and Environment): http://www.cse.ogi.edu/~hallgren/House/ >From the page: "House is a demo of software written in Haskell, runni

[Haskell] haskell-in-a-box?

2006-04-05 Thread Assini, Pasqualino
Hello, you are probably all aware of the recent brouhaha relative to virtualisation, that is to say the possibility of running multiple operating systems in parallel on the same PC (see http://en.wikipedia.org/wiki/Virtualisation). This opens all kind of interesting possibilities, in particular