Re: Student Programming Projects

2001-09-20 Thread Johannes Waldmann
> Next Semester, I am supposed to teach a short course in Haskell. > Can anyone recommend interesting programming projects which can > be completed in about a month? Thank you very much. apart from "pure" programming exercise (see Haskell textbooks http://haskell.org/bookshelf/) here are a few

Problem: "invalid argument" emitted by sendTo

2001-09-20 Thread mgross
Found the error. No need to follow up. Apologies to anyone who objects to mail that turns out not to need answering. Murray Gross [EMAIL PROTECTED] ___ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Problem: "invalid argument" emitted by sendTo

2001-09-20 Thread mgross
I am using SocketPrim to send a udp packet to each of 254 addresses on a network. The message packets have been preconstructed and placed in a list, whose content has already been checked for correctness and appear to meet the specifications in the appropriate RFC. When I go through the list (usi

Re: Haskell Communities Survey - Call for Contacts

2001-09-20 Thread Ketil Malde
...or how about a web zine along the lines of (the Linux) Kernel Notes and cousins (http://kt.zork.net/)? This is just a (couple of?) guy(s) closely following the kernel mailing list, and summarizing, quoting interesting mail, providing links where appropriate and so on. Immensely useful for th

Re: Prelude and (:) and []((:), []) bugs?

2001-09-20 Thread Alastair David Reid
> Ah, I forgot that you can't export a constructor on its own. You can't? I probably knew this once but looking at it now, it seems kinda surprising. Haskell's module system is supposed to be just namespace control --nothing more-- so why is it preventing me from doing something which is per

RE: Prelude and (:) and []((:), []) bugs?

2001-09-20 Thread Simon Marlow
Ian Lynagh writes: > On Thu, Sep 20, 2001 at 01:32:54PM +0100, Simon Marlow wrote: > > (:) is allowed in an export list; it is just a normal operator. > > An export is > > export -> qvar >| qtycon [(..) | ( qcname1 , ... , qcnamen )] (n>=0) >| qtycls [(..) | ( qvar1 , ... , q

Re: Prelude and (:) and []((:), []) bugs?

2001-09-20 Thread Ian Lynagh
On Thu, Sep 20, 2001 at 01:32:54PM +0100, Simon Marlow wrote: > > > As far as I can tell, the report doesn't allow (:) or []((:), > > []) in the > > export list, yet the hugs prelude has the first and the GHC > > prelude has > > the second. Have I missed something that allows them or is > > th

RE: Prelude and (:) and []((:), []) bugs?

2001-09-20 Thread Simon Marlow
> As far as I can tell, the report doesn't allow (:) or []((:), > []) in the > export list, yet the hugs prelude has the first and the GHC > prelude has > the second. Have I missed something that allows them or is > this a bug in > the preludes or the report? (:) is allowed in an export list;