[ ghc-Bugs-1329672 ] Corruption of expression typed at prompt

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

[ ghc-Bugs-1328684 ] Win GHC 6.4.1 crashes while building FastPackedString

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

FunPtr callbacks broken?

2005-10-20 Thread Jeremy Shaw
Hello, I am trying to use FunPtr for a callback from C, but I seem to be getting the error: simplejack: schedule: re-entered unsafely. Perhaps a 'foreign import unsafe' should be 'safe'? Am I misusing something? Or is this a compiler bug? Google indicated that the last time someone had this

Re: FunPtr callbacks broken?

2005-10-20 Thread Wolfgang Thaller
simplejack: schedule: re-entered unsafely. Perhaps a 'foreign import unsafe' should be 'safe'? Am I misusing something? Or is this a compiler bug? Google indicated that the last time someone had this problem it was a compiler bug... Here is the test program. It requires jack to be running

Re: FunPtr callbacks broken?

2005-10-20 Thread Jeremy Shaw
At Thu, 20 Oct 2005 16:59:30 -0400, Wolfgang Thaller wrote: simplejack: schedule: re-entered unsafely. Perhaps a 'foreign import unsafe' should be 'safe'? Are jack callbacks invoked on a second thread? (looks like they are). I am not quite sure what you mean by this, but the answer

RE: Help wanted! Win32 and HGL for GHC on Windows

2005-10-20 Thread Simon Peyton-Jones
| | * The libraries/HGL package works fine on Unix, where it sits on top | | of the libraries/X11 package. But it does not work properly on | | Windows, where it sits on top of libraries/Win32. It is not clear | | whether the problem is with the HGL package or the Win32 package. | | As

RE: GHC-6.4.1 on FreeBSD-amd64 port progress

2005-10-20 Thread Simon Marlow
On 19 October 2005 20:41, Wilhelm B. Kloke wrote: Simon Marlow [EMAIL PROTECTED] schrieb: Are you building GHC in a fresh tree now? I'd recommend doing that. Now I am using a *really* fresh tree. Formerly the compilation of Apply.cmm did not render an instructive error message, just

RE: GHC-6.4.1 on FreeBSD-amd64 port progress

2005-10-20 Thread Simon Marlow
On 20 October 2005 10:35, Simon Marlow wrote: On 19 October 2005 20:41, Wilhelm B. Kloke wrote: Simon Marlow [EMAIL PROTECTED] schrieb: Are you building GHC in a fresh tree now? I'd recommend doing that. Now I am using a *really* fresh tree. Formerly the compilation of Apply.cmm did

Re[2]: cc1plus.exe not included in Win32 distro

2005-10-20 Thread Bulat Ziganshin
Hello Sigbjorn, Tuesday, October 18, 2005, 3:58:03 AM, you wrote: the official Win32 distro does not contain cc1plus.exe, needed to compile CPP files SF Should GHC binary dists include a C++ compiler? I'd say SF no, but if there are practical and compelling reasons to do SF so, it's no big

Re: [Haskell] Read Instances for Data.Map and Data.Set

2005-10-20 Thread Christian Maeder
Georg Martius wrote: Anyway since there was no response to S. Alexander Jacobson post [1], I decided to write these instances at least for GHC in the style of the other instances in GHC.Read. Who feels responsible for including something into Data.Set and Data.Map (recently I've proposed a

Re: [Haskell] Read Instances for Data.Map and Data.Set

2005-10-20 Thread Christian Maeder
Christian Maeder wrote: Simon, clicking on any module does not work, currently Not Found The requested URL /ghc/docs/latest/html/libraries/base/Control.Arrow.html was not found on this server. Apache/2.0.46 (Red Hat) Server at www.haskell.org Port 80 Sorry, it works now after I cleared my

Re[2]: [Haskell-cafe] FPS lib

2005-10-20 Thread Bulat Ziganshin
Hello Donald, Thursday, October 20, 2005, 5:00:15 AM, you wrote: i think, that larger testsuite for string-implementation libraries need to be established. this testsuite must, of course, include testing of individual operations and more complex scenarios which can be seen as typical for

Re[2]: [Haskell-cafe] FastString a misnomer

2005-10-20 Thread Bulat Ziganshin
Hello John, Thursday, October 20, 2005, 4:12:36 AM, you wrote: JM FastString seems to be a misnomer for this library. JM what it provides is a fast _byte array_ with a lot of useful JM operations, but it does not provide strings since it does not enforce JM character encodings in the type

Re: [Haskell-cafe] FPS lib

2005-10-20 Thread Krasimir Angelov
2005/10/19, Simon Marlow [EMAIL PROTECTED]: On 19 October 2005 01:08, Donald Bruce Stewart wrote: Ah!! So what's going on on Linux, I wonder. Could it be something about 6.4.1? Are we seeing the difference between ForeignPtrs from 6.4 to 6.5? I will investigate. I bet that's the

RE: [Haskell-cafe] FPS lib

2005-10-20 Thread Simon Marlow
[ oops, I meant to send this yesterday but it didn't go out for some reason ] On 18 October 2005 12:40, Krasimir Angelov wrote: ForeignPtr requires more memory. Each ForeignPtr has ForeignPtrContents structure attached. In the ForeignPtrContents there is one IORef. Each finalizer adds one

Re: [Haskell-cafe] FPS lib

2005-10-20 Thread Donald Bruce Stewart
bulatz: Hello Donald, Thursday, October 20, 2005, 5:00:15 AM, you wrote: i think, that larger testsuite for string-implementation libraries need to be established. this testsuite must, of course, include testing of individual operations and more complex scenarios which can be seen as

Re: [Haskell-cafe] FastString a misnomer

2005-10-20 Thread Donald Bruce Stewart
bulatz: Hello John, Thursday, October 20, 2005, 4:12:36 AM, you wrote: JM FastString seems to be a misnomer for this library. JM what it provides is a fast _byte array_ with a lot of useful JM operations, but it does not provide strings since it does not enforce JM character encodings

RE: [Haskell-cafe] FastString a misnomer

2005-10-20 Thread Simon Marlow
On 20 October 2005 09:48, Donald Bruce Stewart wrote: bulatz: Hello John, Thursday, October 20, 2005, 4:12:36 AM, you wrote: FastString seems to be a misnomer for this library. what it provides is a fast _byte array_ with a lot of useful operations, but it does not provide strings

Re[2]: [Haskell-cafe] FastString a misnomer

2005-10-20 Thread Bulat Ziganshin
Hello Donald, Thursday, October 20, 2005, 12:47:32 PM, you wrote: JM what it provides is a fast _byte array_ with a lot of useful may be it can be named ByteArray? and then FastString.Latin1, DBS Well, it's a PackedString really, isn't it? of course :) btw, may be it can be extended by

Re[2]: [Haskell-cafe] FastString a misnomer

2005-10-20 Thread Bulat Ziganshin
Hello Simon, Thursday, October 20, 2005, 1:45:28 PM, you wrote: SM I think when this is ready it should replace Data.PackedString. SM I don't necessarily mean put it into fptools/libraries/base - we could SM just remove the existing Data.PackedString from there and your separate SM package can

[Haskell-cafe] Template Haskell -- Bug?

2005-10-20 Thread Gracjan Polak
Hi, Could somebody try to compile these two files *TWICE*? GHC dumps core at me. I don't know if it is something about me, or something more general :) I'd like to know a bit more, before I bother anybody from devel team. Log: $ ghc --make THTest1.hs Chasing modules from: THTest1.hs

Re: [Haskell-cafe] Template Haskell -- Bug?

2005-10-20 Thread Wolfgang Jeltsch
Am Donnerstag, 20. Oktober 2005 15:02 schrieb Gracjan Polak: Hi, Could somebody try to compile these two files *TWICE*? Hello Gracjan, I did so, using GHC 6.4.1 on Debian GNU/Linux, installed from the binary archive for generic Linux. Upon the first run, I got the same messages, you got.

Re: [Haskell-cafe] FPS lib

2005-10-20 Thread John Meacham
On Thu, Oct 20, 2005 at 09:41:06AM +0100, Simon Marlow wrote: [ oops, I meant to send this yesterday but it didn't go out for some reason ] On 18 October 2005 12:40, Krasimir Angelov wrote: ForeignPtr requires more memory. Each ForeignPtr has ForeignPtrContents structure attached. In

Re: [Haskell-cafe] FastString a misnomer

2005-10-20 Thread John Meacham
On Thu, Oct 20, 2005 at 10:45:28AM +0100, Simon Marlow wrote: I think when this is ready it should replace Data.PackedString. I don't necessarily mean put it into fptools/libraries/base - we could just remove the existing Data.PackedString from there and your separate package can provide

Re: [Haskell-cafe] FastString a misnomer

2005-10-20 Thread Donald Bruce Stewart
john: On Thu, Oct 20, 2005 at 10:45:28AM +0100, Simon Marlow wrote: I think when this is ready it should replace Data.PackedString. I don't necessarily mean put it into fptools/libraries/base - we could just remove the existing Data.PackedString from there and your separate package can