RE: An Haskell compilation server

2001-01-18 Thread Simon Marlow
[ moved to [EMAIL PROTECTED] ] Wed, 17 Jan 2001 01:49:25 -0800, Simon Marlow [EMAIL PROTECTED] pisze: Funny you should say that. The next version of GHC (5.00 - to be released soon) will have hmake-like functionality enabling it to compile multiple modules without exiting, How to

WRS'2001 - First call for papers

2001-01-18 Thread Salvador Lucas Alba
[Apologies for multiple copies of this announcement] ** *** first call for papers and participation ** International Workshop on

A simple problem

2001-01-18 Thread Saswat Anand
class C a where fun :: a - Integer instance C Integer where fun x = x+ 1 with these definitons: fun 3 --gives error in Hugs fun (3::Integer) -- OK I am a building an embedded language, so don't want user to cast. Is there a solution? Thanks, Saswat

Re: MD5 in Haskell

2001-01-18 Thread Ian Lynagh
On Wed, Jan 17, 2001 at 07:11:40PM +, Ian Lynagh wrote: I've put the code at http://c93.keble.ox.ac.uk/~ian/md5/ License is GPL. 0.1.1 now there which changes the license to GPL/BSD so it can be used as a drop-in replacement for the GHC code. Ian

Student Cheating?

2001-01-18 Thread F. Warren Burton
How many readers of this list got a copy of the following? Did somebody reading this list assign this problem? Warren X-Originating-IP: [194.83.240.16] From: "Rachael Maguire" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: haskell programming problem Date: Thu, 18 Jan 2001 21:21:25 -

Re: A simple problem

2001-01-18 Thread Ashley Yakeley
At 2001-01-18 05:16, Saswat Anand wrote: class C a where fun :: a - Integer instance C Integer where fun x = x+ 1 with these definitons: fun 3 --gives error in Hugs fun (3::Integer) -- OK I am a building an embedded language, so don't want user to cast. Is there a solution? 3 is not

Re: A simple problem

2001-01-18 Thread Ashley Yakeley
At 2001-01-18 15:38, I wrote: 3 is not always an Integer. It's of type "(Num a) = a". Of course, it would be nice if 3 were an Integer, and Integer were a subtype of Real. I haven't come across a language that does this, where for instance 3.0 can be cast to Integer (because it is one) but

Re: A simple problem

2001-01-18 Thread William Lee Irwin III
At 2001-01-18 15:57, William Lee Irwin III wrote: class C a where fun :: a - Integer instance Integral a = C a where fun = toInteger . succ On Thu, Jan 18, 2001 at 04:04:01PM -0800, Ashley Yakeley wrote: Gives "syntax error in instance head (constructor expected)" at the