RE: Porting GHC to powerpc-unknown-linux

2003-09-05 Thread Simon Marlow
I was a bit too soon reporting the sparc-sun-solaris2, two attempts have died with stg_ap_v_ret. Same result sparc-*-openbsd. Here's an updated list: +-++---+ | HOST| TARGET| Unregisterised bootstrap |

Re: Porting GHC to powerpc-unknown-linux

2003-09-05 Thread Ian Lynagh
On Fri, Sep 05, 2003 at 02:56:19PM +1000, Donald Bruce Stewart wrote: (cough) I was a bit too soon reporting the sparc-sun-solaris2, two attempts have died with stg_ap_v_ret. Same result sparc-*-openbsd. Here's an updated list:

Re: Porting GHC to powerpc-unknown-linux

2003-09-05 Thread Donald Bruce Stewart
simonmar: I was a bit too soon reporting the sparc-sun-solaris2, two attempts have died with stg_ap_v_ret. Same result sparc-*-openbsd. Is there an endianess thing here? What is the endianess of the amd64 and the powerpc? Are than any tricks I can try? Hmm. I'm still wondering if

Re: Haskell for non-Haskell's sake

2003-09-05 Thread Johannes Waldmann
On Thu, 4 Sep 2003, John Hughes wrote: I use Haskell and Wash/CGI for administering students lab work. same here (in addition to Haskell programs for actually grading the homework). just curious: what kind of data base do you use? we take Krasimir Angelov's MySql binding (from HToolkit).

Re: unary minus

2003-09-05 Thread Christian Maeder
I wrote: I wonder why Haskell only allows the unary minus on the left side of an expression (lexp in the grammar). The unary minus may also occur on the right hand side (rule: exp - lexp). So -1 == -1 is correct, because == has lower precedence than -. Also -1*2 is correct although it is

Re: Haskell for non-Haskell's sake

2003-09-05 Thread John Hughes
On Thu, 4 Sep 2003, Sebastian Sylvan wrote: On Thu, 4 Sep 2003, John Hughes wrote: I wrote the system for my (Haskell!) programming course, with 170 students last year, and it is now also being used (at least) for our Java course and a cryptography course. It consists of about 600 lines of

RE: Haskell for non-Haskell's sake

2003-09-05 Thread Simon Marlow
I implemented a trivial database, stored in ordinary files, and had to ensure mutual exclusion of database access between simultaneously running CGI scripts. Since each CGI run is short, I simply locked the entire database for the entire run. Claiming a lock on a file is easy in C

Re: Haskell for non-Haskell's sake

2003-09-05 Thread John Hughes
On Fri, 5 Sep 2003, Johannes Waldmann wrote: On Thu, 4 Sep 2003, John Hughes wrote: I use Haskell and Wash/CGI for administering students lab work. same here (in addition to Haskell programs for actually grading the homework). just curious: what kind of data base do you use? we take

Re: [mercury-users] pragma compiled_memo for compile-time tabled evaluation

2003-09-05 Thread Stefan Karrmann
André Platzer (Fri, Sep 05, 2003 at 04:03:42PM +0200): Hello Mercury users! Is there any way to extend tabled evaluation to compile-time? As far as I understand, normal tabled evaluation memorises values computed at run-time. On an invocation with the same arguments, then mercury reuses

Re: Library documentation

2003-09-05 Thread Per Larsson
On Friday 05 September 2003 16.35, Konrad Hinsen wrote: Is there any place where I can find an introductory documentation for the Haskell libraries? To be more concrete, say I am interested in using Data.Array.ST.STUArray. I would need some explanation of the ST monad, and then an explanation