(^) causes crash

2005-08-31 Thread Dean Herington
With GHC 6.4, interpreted or compiled, on Windows and Mac OS X, evaluating the expression (4^(4^44))::Integer causes a crash. On Mac, the message is: ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.4, for Haskell 98. / /_\\/ __ / /___| |

[ ghc-Bugs-1277810 ] ghc is confused about instances of Ord

2005-08-31 Thread SourceForge.net
Bugs item #1277810, was opened at 2005-08-31 23:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1277810group_id=8032 Please note that this message will contain a full copy of

[ ghc-Bugs-1277810 ] ghc is confused about instances of Ord

2005-08-31 Thread SourceForge.net
Bugs item #1277810, was opened at 2005-08-31 23:39 Message generated for change (Comment added) made by greenrd You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1277810group_id=8032 Please note that this message will contain a full copy of the comment

[ ghc-Bugs-1277825 ] segmentation fault when profiling large case

2005-08-31 Thread SourceForge.net
Bugs item #1277825, was opened at 2005-08-31 17:31 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1277825group_id=8032 Please note that this message will contain a full copy of

[ ghc-Bugs-1278003 ] compiler panic

2005-08-31 Thread SourceForge.net
Bugs item #1278003, was opened at 2005-08-31 22:52 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1278003group_id=8032 Please note that this message will contain a full copy of

Character index vs Column number in GHC error messages

2005-08-31 Thread Krasimir Angelov
Hello, Guys Quite recently GHC was changed to display the column number as well as the line number in all error messages. This is useful feature but I found the following difficulty with using it. All text editors that have built-in support for compilers, expect to find the line number in the

Re: Character index vs Column number in GHC error messages

2005-08-31 Thread Krasimir Angelov
2005/8/31, Bayley, Alistair [EMAIL PROTECTED]: From: Krasimir Angelov [mailto:[EMAIL PROTECTED] The difference comes from the tab characters which can have different width depending from the editor settings. For such reason all compilers, which I am aware of, display the character

Re: problem compiling programs with monads with ghc-6.4

2005-08-31 Thread Donald Bruce Stewart
Add -package mtl ? vkonovalov: Dear all, When I compile simple programs with monads, I receive following error: example18.o(.text+0x2de):fake: undefined reference to `ControlziMonadziCont_zdfMonadContCont_closure' example18.o(.text+0x422):fake: undefined reference to

[Haskell] Haskell Weekly News: August 30, 2005

2005-08-31 Thread John Goerzen
Haskell Weekly News: August 30, 2005 Greetings, and thanks for reading the fifth issue of HWN, a weekly newsletter for the Haskell community. Each Tuesday, new editions will be posted (as text) to [1]the Haskell mailing list and (as HTML) to [2]The Haskell

[Haskell] Haskell CVS repository now hosted by Galois

2005-08-31 Thread Andy Moran
The cvs.haskell.org CVS repository, previously hosted by OGI (on glass.cse.ogi.edu), is now being hosted by Galois. The new machine is a 3.0 GHz Pentium 4 running Debian Linux (sarge); it will be actively maintained by Galois. Requests for system help should be directed to [EMAIL PROTECTED]

[Haskell] Re: cannot compile ghc on Debian unstable

2005-08-31 Thread Aaron Denney
On 2005-08-30, Isaac Jones [EMAIL PROTECTED] wrote: Michael Vanier [EMAIL PROTECTED] writes: Right now, the Debian unstable package for GHC 6.4 won't install due to some conflict with libgmp3 (the package maintainer has been notified). The trick to getting this to work is to install the

Re: [Haskell] How to use STArray?

2005-08-31 Thread Benjamin Franksen
On Tuesday 30 August 2005 06:32, [EMAIL PROTECTED] wrote: Benjamin Franksen wrote: On Thursday 25 August 2005 19:58, Udo Stenzel wrote: [...] you'll need a type signature somewhere to help ghc resolve the overloading of newArray and readArray, which is surprisingly tricky due to the s

Re: [Haskell-cafe] List of functions

2005-08-31 Thread Dinh Tien Tuan Anh
Something like (untested)... xs - zipWith ($) forkIO (map (\f - f x y) funs) tids - sequence xs what does zipWith ($) do ? _ Be the first to hear what's new at MSN - sign up to our free newsletters!

Re: [Haskell-cafe] List of functions

2005-08-31 Thread Sebastian Sylvan
On 8/31/05, Dinh Tien Tuan Anh [EMAIL PROTECTED] wrote: Something like (untested)... xs - zipWith ($) forkIO (map (\f - f x y) funs) tids - sequence xs what does zipWith ($) do ? $ is function application, so zipWith ($) will zip a list of functions with a list of arguments, by

Re: [Haskell-cafe] List of functions

2005-08-31 Thread Krasimir Angelov
2005/8/31, Sebastian Sylvan [EMAIL PROTECTED]: On 8/31/05, Dinh Tien Tuan Anh [EMAIL PROTECTED] wrote: Something like (untested)... xs - zipWith ($) forkIO (map (\f - f x y) funs) tids - sequence xs what does zipWith ($) do ? $ is function application, so zipWith ($) will

[Haskell-cafe] Re: Haskell poker server

2005-08-31 Thread Kimberley Burchett
Hi Joel, I've been working on a library to parse binary data files (java bytecode in my case), and I ended up writing my own DataReader monad for the purpose of reading binary streams. It offers two main features: * It keeps track of how many bytes you've read. This is necessary for

Re: [Haskell-cafe] Haskell poker server

2005-08-31 Thread Tomasz Zielonka
On Tue, Aug 30, 2005 at 01:31:22PM +0200, Joel Reymont wrote: Can I beg for examples? This is from some old code, slightly polished for presentation - the code for parsing DNS domain name label in DNS packets: parseLabel :: CharParser st Label parseLabel = (? label) $ do len -

[Haskell-cafe] Haskell thread preemption

2005-08-31 Thread Dmitry Vyal
Hello, all. I'm experimenting with concurrent haskell using GHC 6.4. I wrote these fuctions as described in Tackling the Awkward Squad: par_io :: IO a - IO a - IO a par_io t1 t2 = do c - newEmptyMVar :: IO (MVar a) id1 - forkIO $ wrapper c t1 id2 - forkIO $

Re: [Haskell-cafe] embedding prolog in haskell.

2005-08-31 Thread Fergus Henderson
On 18-Aug-2005, Keean Schupke [EMAIL PROTECTED] wrote: I was wondering if anyone has any comments on my implementation of unify? For example can the algorithm be simplified from my nieve attempt? Most importantly is it correct? type Subst = [(Vname,Term)] data Term = Func Fname