[ ghc-Bugs-1200026 ] System.Posix.Signals.setStoppedChildFlag segfaults

2005-05-12 Thread SourceForge.net
Bugs item #1200026, was opened at 2005-05-11 17:28 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1200026group_id=8032 Category: hslibs/posix Group: 6.4 Status: Closed Resolution: Fixed

[ ghc-Bugs-1199529 ] ghc --make panic on fptools/ghc/compiler/Lexer.hs

2005-05-12 Thread SourceForge.net
Bugs item #1199529, was opened at 2005-05-11 01:53 Message generated for change (Comment added) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1199529group_id=8032 Category: Compiler Group: 6.4 Status: Closed Resolution: Fixed Priority: 5

[ ghc-Bugs-1200592 ] GHC fails to pass dictionary in a rank-2 situation.

2005-05-12 Thread SourceForge.net
Bugs item #1200592, was opened at 2005-05-12 05:34 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1200592group_id=8032 Category: Compiler Group: None Status: Open Resolution:

[ ghc-Bugs-1200592 ] GHC fails to pass dictionary in a rank-2 situation.

2005-05-12 Thread SourceForge.net
Bugs item #1200592, was opened at 2005-05-12 12:34 Message generated for change (Comment added) made by simonpj You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=108032aid=1200592group_id=8032 Category: Compiler Group: None Status: Open Resolution: None Priority: 5

Re: GHC mutual recursion weirdness

2005-05-12 Thread Samuel Bronson
This turns out to have been a duplicate of [1199529] ghc --make panic on fptools/ghc/compiler/Lexer.hs ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

[ ghc-Feature Requests-1084122 ] RPM doesn't support --prefix

2005-05-12 Thread SourceForge.net
Feature Requests item #1084122, was opened at 2004-12-13 10:54 Message generated for change (Comment added) made by juhp You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=358032aid=1084122group_id=8032 Category: None Group: None Status: Open Priority: 5 Submitted By:

Why would my bugreports not have been responded to?

2005-05-12 Thread Samuel Bronson
I sent a couple of bug reports to the glasgow-haskell-bugs list, and I'm wondering why nobody seems to have responded yet. Should I have used the sourceforge bug tracker? Are they maybe just hard? Am I just being unreasonably impatient? -- Thanks, Sam

Re: [Haskell] Re: Existing Haskell IPv6 Code

2005-05-12 Thread Einar Karttunen
Peter Simons [EMAIL PROTECTED] writes: Judging from a quick glance, the code seems to marshal the POSIX API: type SockAddrLen = Int data SockAddrT type SockAddr = ForeignPtr SockAddrT data SocketAddress = SA !SockAddr !SockAddrLen I'm not sure whether that's a useful

[Haskell] Re: Existing Haskell IPv6 Code

2005-05-12 Thread Peter Simons
Einar Karttunen writes: Lifting [network address information] to Haskell level seems quite pointless, as it is usually just fed back to the C functions. Well, I certainly _do_ need it. The current way is to ignore adress families as much as possible while still supporting multiple

[Haskell] Doctoral Studentships in Computing Science

2005-05-12 Thread Jeremy . Gibbons
Doctoral Studentships in Computing Science Oxford University Computing Laboratory (CancerGrid) Microsoft Research Applications are invited for two doctoral studentships at the University of Oxford, starting in October 2005, in the areas of: * object models * web services The students will

Re: [Haskell] Re: Existing Haskell IPv6 Code

2005-05-12 Thread Einar Karttunen
Peter Simons [EMAIL PROTECTED] writes: Lifting [network address information] to Haskell level seems quite pointless, as it is usually just fed back to the C functions. Well, I certainly _do_ need it. You can certainly get it: getHost mySocketAddress niNumerichost getServ

[Haskell] Re: Existing Haskell IPv6 Code

2005-05-12 Thread Peter Simons
Einar Karttunen writes: Well, I certainly _do_ need [a representation of network addresses in Haskell]. You can certainly get it: getHost mySocketAddress niNumerichost getServ mySocketAddress niNumericserv Um, yes, but 'String' isn't a very good representation for manipulating network

Re: [Haskell] Re: Existing Haskell IPv6 Code

2005-05-12 Thread Marcin 'Qrczak' Kowalczyk
Peter Simons [EMAIL PROTECTED] writes: [URIs might be the answer] But what URI should represent e.g. unix datagram sockets? I don't think it's worth even trying to hide both stream- and packet-oriented services behind the same API. These are completely different things, treated them

Re: [Haskell] Re: Existing Haskell IPv6 Code

2005-05-12 Thread Ravi Nanavati
Einar Karttunen wrote: But what URI should represent e.g. unix datagram sockets? Having an URI connection function would be nice, but having it as the primary alternative would not be very nice. Could URI schemes like those in the Java Generic Connection Framework (see:

Re: [Haskell] Re: Existing Haskell IPv6 Code

2005-05-12 Thread Tony Finch
On Thu, 12 May 2005, Marcin 'Qrczak' Kowalczyk wrote: But they don't differ in addressing. In BSD sockets the difference between streams and packets lies in socket type, while addresses are split into address families which bijectively correspond to protocol families. I believe there are

Re: [Haskell] Re: Existing Haskell IPv6 Code

2005-05-12 Thread Marcin 'Qrczak' Kowalczyk
Tony Finch [EMAIL PROTECTED] writes: But they don't differ in addressing. In BSD sockets the difference between streams and packets lies in socket type, while addresses are split into address families which bijectively correspond to protocol families. I believe there are some obscure

[Haskell] HGetChar socket reading

2005-05-12 Thread Tobe
hey guys ! I´m pretty nu to haskell, and i got the following things to do: code a client in python that sends string -done code a server in haskell that recieves string - to do... i initialized the server, set up a socket on port 9900, so the socket is allready open... First i read the

[Haskell] ANNOUNCE: Haskell Communities Activities Report (8th ed., May 2005)

2005-05-12 Thread Andres Loeh
On behalf of the many, many contributors, I am pleased to announce that the Haskell Communities and Activities Report (8th edition, May 2005) http://www.haskell.org/communities/ is now available from the Haskell Communities home page in

Re: [Haskell-cafe] NumberTheory library

2005-05-12 Thread Bo Herlin
Hi I have put some comments and examples in the code now, and will continue to do so as soon as i get time for it. Please look at the code, and tell me if it is worth making into a part of an official library. Or, even better, if someone has already done this code, and in a better way. You

[Haskell-cafe] When to use fancy types [Re: NumberTheory library]

2005-05-12 Thread Jan-Willem Maessen
On May 10, 2005, at 4:14 AM, Bo Herlin wrote: Well, part of what I was doing was experimenting with what a library like this should look like, even more than what it should do. For some reason, I kind of like writing this: *Math.Prime is Prime 42 False instead of this:

[Haskell-cafe] rank 2 polymorphism example

2005-05-12 Thread Scott J.
Hi, can someone give me an example of an arbitrary rank polymorphism function? Thanks Jan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] When to use fancy types [Re: NumberTheory library]

2005-05-12 Thread Lennart Augustsson
Thank you for saying what I was too lazy to say myself. :) -- Lennart Jan-Willem Maessen wrote: On May 10, 2005, at 4:14 AM, Bo Herlin wrote: Well, part of what I was doing was experimenting with what a library like this should look like, even more than what it should do. For some

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Greg Buchholz
Bernard Pope wrote: Perhaps this section of the report might help: From Section 4.3.2 Instance Declarations in the Haskell Report: http://www.haskell.org/onlinereport/decls.html#instance-decls If no binding is given for some class method then the corresponding default class method

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Samuel Bronson
On 12/05/05, Greg Buchholz [EMAIL PROTECTED] wrote: Bernard Pope wrote: Perhaps this section of the report might help: From Section 4.3.2 Instance Declarations in the Haskell Report: http://www.haskell.org/onlinereport/decls.html#instance-decls If no binding is given for some

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Greg Buchholz
Samuel Bronson wrote: Aren't the warnings just about as usefull as failures? Anyway, you could always use the -Werrror flag for ghc... In any case, I would not like to have to implement an entire typeclass at once... it would interfere with incremental development. Hmm. I guess I'm

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Greg Buchholz
Samuel Bronson wrote: After thinking about it for a while, I'm positive it would be a LOT of work to get that to work in general, if it is even possible. Even getting it to work in only specific, limited cases (such as within a module) would probably not be easy, since it is such an indirect

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Samuel Bronson
On 12/05/05, Greg Buchholz [EMAIL PROTECTED] wrote: Samuel Bronson wrote: After thinking about it for a while, I'm positive it would be a LOT of work to get that to work in general, if it is even possible. Even getting it to work in only specific, limited cases (such as within a module)

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Greg Buchholz
Samuel Bronson wrote: The former may not be hard, but the latter would require functions with typeclass constraints on their types to be annotated in the interface file with what typeclass methods they called. Does that sound hard yet? Compared to writing the rest of the compiler? No.

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Samuel Bronson
On 12/05/05, Greg Buchholz [EMAIL PROTECTED] wrote: Samuel Bronson wrote: The former may not be hard, but the latter would require functions with typeclass constraints on their types to be annotated in the interface file with what typeclass methods they called. Does that sound hard yet?

Re: [Haskell-cafe] resolving missing class instances @ compile time

2005-05-12 Thread Lennart Augustsson
Greg Buchholz wrote: Samuel Bronson wrote: The former may not be hard, but the latter would require functions with typeclass constraints on their types to be annotated in the interface file with what typeclass methods they called. Does that sound hard yet? Compared to writing the rest of the

[Haskell-cafe] ANNOUNCE: Haskell Communities Activities Report (8th ed., May 2005)

2005-05-12 Thread Andres Loeh
On behalf of the many, many contributors, I am pleased to announce that the Haskell Communities and Activities Report (8th edition, May 2005) http://www.haskell.org/communities/ is now available from the Haskell Communities home page in

Re: [Haskell-cafe] When to use fancy types [Re: NumberTheory library]

2005-05-12 Thread ajb
G'day all. Quoting Jan-Willem Maessen [EMAIL PROTECTED]: Why not use a function? What's wrong with a function? There no need to go leaping for a multiparameter type class with a functional dependency! Just use a function. [With apologies to John Cleese] A reasonable question, and one