silly message when uninstalling GHC in Windows98

2003-02-03 Thread Andre Furtado
Just reporting a silly message that appears after uninstalling GHC in Windows98 (perhaps other windows platforms also): don't forget to add [ghc path]/bin to your PATH Why would it be necessary, since I am uninstalling it? Cheers, -- Andre ___

RE: garbled error message

2003-02-03 Thread Simon Peyton-Jones
Thanks for the report. I'm not 100% certain why it happens in 5.04.2, but it doesn't happen in the HEAD. The error message is still not great, but at least it's not gibberish. Simon Data.hs:288: Could not deduce (ReprType r t) from the context () arising from use of `getter'' at

RE: linker error

2003-02-03 Thread Simon Peyton-Jones
The desugarer generates tuples when desugaring mutually-recursive functions, and I bet that is what is causing the problem. These optimiser usually gets rid of them, as you found. It's a known shortcoming which has never gotten high enough up the list to solve. Could you please keep the source

[ ghc-Bugs-653694 ] safe calls in the threaded RTS broken

2003-02-03 Thread SourceForge.net
Bugs item #653694, was opened at 2002-12-14 13:04 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=653694group_id=8032 Category: Runtime System Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Wolfgang Thaller (wthaller) Assigned to:

[ ghc-Bugs-679876 ] multiple symbol definition in libHSbase.a

2003-02-03 Thread SourceForge.net
Bugs item #679876, was opened at 2003-02-03 23:56 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=679876group_id=8032 Category: Build System Group: None Status: Open Resolution: None Priority: 7 Submitted By: Wolfgang Thaller (wthaller) Assigned to:

[ ghc-Bugs-679963 ] hp2hs -c appears broken in ghc-5.04.2

2003-02-03 Thread SourceForge.net
Bugs item #679963, was opened at 2003-02-03 18:14 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=679963group_id=8032 Category: Profiling Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to:

[ ghc-Bugs-679966 ] ghci does not appear to restore its signal handlers

2003-02-03 Thread SourceForge.net
Bugs item #679966, was opened at 2003-02-03 18:19 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=679966group_id=8032 Category: Compiler Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to:

[ ghc-Bugs-679963 ] hp2hs -c appears broken in ghc-5.04.2

2003-02-03 Thread SourceForge.net
Bugs item #679963, was opened at 2003-02-03 18:14 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=679963group_id=8032 Category: Profiling Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to:

RE: Modifying GHC to accept external Styx code

2003-02-03 Thread Simon Peyton-Jones
| I want to use GHC as a backend for my experimental compiler. | I'm trying to modify it to accept styx code from my compiler, and I'm | having some trouble working out where I need to make changes. In truth, | GHC is more haskell code than I've ever seen before in one place, and I'm | a bit

RE: GHC doesn't compile under cygwin

2003-02-03 Thread Simon Peyton-Jones
Did you carefully follow the steps described in the Building Guide? http://haskell.cs.yale.edu/ghc/docs/latest/html/building/winbuild.html Simon | -Original Message- | From: Chris Clearwater [mailto:[EMAIL PROTECTED]] | Sent: 28 January 2003 23:36 | To: [EMAIL PROTECTED] | Subject: GHC

Re: GHC and C++

2003-02-03 Thread Kevin S. Millikin
Simon == Simon Peyton-Jones [EMAIL PROTECTED] writes: SimonWould either of you like Simon to write up some stand-alone notes that explain how to do Simon it, and what the pitfalls are? You can make suggestions Simon for improving GHC too! I'd

Re: ghc/cygwin filename resolution issue.

2003-02-03 Thread Malcolm Wallace
Alex Ferguson [EMAIL PROTECTED] writes: (This was all motivated, btw, by trying to build HaXml under ghc/cygwin, which fell for me at the first hurdle of first catch your hmake in the recipe. I've now gotten as far as a _build_ of hmake, but it then runs into similar issues with its own use

ghc feature request: core notes

2003-02-03 Thread Hal Daume III
I'm not sure how generally useful this would be, but I would find it useful to be able to attach notes to core expressions from the Haskell code. The idea being something along the lines of a code annotation like a pragma. For instance, in my Haskell program I would have something like: f x y

RE: time since the epoch

2003-02-03 Thread Simon Peyton-Jones
| the haskell 98 time library is horribly broken, if you are using ghc, | you can deconstruct the time constructor which has an Integer containing | the number of seconds since epoch... otherwise you can use | ... | I dont supose this could be considered a typo in the haskell 98 report? | it is

Re: ANNOUNCE: Helium, for learning Haskell

2003-02-03 Thread Andres Loeh
Unfortunately, readline history and line-editing commands do not work at the /usr/local/bin/hi prompt. One would think they would because before I had readline-dev installed Helium refused to build. Oh well! This can hopefully be fixed by applying the simple patch that I have attached.

Haskell Workshop 2003

2003-02-03 Thread Johan Jeuring
ACM SIGPLAN 2003 Haskell Workshop Uppsala, Sweden, End of August 2003 pending approval http://www.functional-programming.org/HaskellWorkshop/cfp03.html Call For Papers The Haskell Workshop forms part of the PLI 2003

RE: time since the epoch

2003-02-03 Thread George Russell
Simon PJ wrote (snipped) Meanwhile, I suspect there's an opportunity for someone (or a small group) to suggest a new Time library that really does the business, and provide an implementation. If it's sufficiently persuasive, all the implementations will adopt it and it can become a de-facto

[OT] Teaching Haskell in High School

2003-02-03 Thread Hal Daume III
Hi all, Before getting in to this, let me preface my question(s) with a note that I have checked through the Haskell in Education web page and have found various links off there of interest (and I've googled, etc. In short: I've done my homework). That said, I've been in rather close

Re: [OT] Teaching Haskell in High School

2003-02-03 Thread Wolfgang Jeltsch
On Tuesday, 2003-02-04, 01:01, CET, Hal Daume wrote: [...] However, I'm also well aware that Haskell is very difficult to learn (and, I'd imagine, to teach). Hi, I wouldn't claim that Haskell is very difficult to learn. I think, people often have problems with learning Haskell because they

Re: [OT] Teaching Haskell in High School (fwd)

2003-02-03 Thread Rex Page
This matches my experience, too. When I've taught Haskell to first year college students, there have always been some hard core hackers who've been at it in C or VB or Perl or something like that for years, and they rarely take kindly to Haskell. The ones without any programming background do

PLC 27: call for participation

2003-02-03 Thread Sophia A. Malamud
Dear friends and colleagues, Please circulate this announcement and call for registration! We apologise for multiple mailings. 27th Penn Linguistics Colloquium

Re: [OT] Teaching Haskell in High School

2003-02-03 Thread Hamilton Richards
I had the good fortune to teach Haskell to some thousand freshmen a few years ago, and noticed that some who did especially well had no previous programming experience. This supports Wolfgang Jeltsch's claim that Haskell is not inherently difficult to learn. I've taught similar numbers of

Re: [OT] Teaching Haskell in High School

2003-02-03 Thread John Peterson
I've also been working high school students a bit and functional programming is a great way to teach the principals of computation. The best results come when FP is applied to domains that get kids excited. I've had very good luck with Haskore as an excellent way to bring computation to a general

Re: Global variables?

2003-02-03 Thread Jon Cast
Richard Uhtenwoldt [EMAIL PROTECTED] wrote: snip I do not think it is nice: I do not like any of the solutions Hughes considers in that paper because this problem can be handled much more simply with lexical scope and the IO monad. can be /= should be Just to get our bearings, let us first

Concurrent-Haskell in GHC

2003-02-03 Thread Jonathan Holt
Hi guys! I'm considering doing a server project in Haskell, using GHC, and I'm having the old dilema of trying to figure out the best way of handling multiple concurrent connections: multiplexing or multithreading. I've started looking into the docs on GHC's implementation of Concurrent-Haskell,