Communication with the no-functional world.

Marco Kesseler mke@oce.nl
Wed, 18 Mar 1998 10:39:33 +0100


>> I have another wish for Clean, and I would like to know how the Haskell
>> community addresses it. Two or three months ago, I needed to
>
>...
>
>> Since there is a call to "size", and the error handler was showing a
>> position very close to it, I was convinced that the error was there. But
>> no!  The error is in the expression [toHex x \\ x <- (s%(i, i+n-1))]. Of
>> course, I am happy that functional languages find out my mistakes at
>> compile  time, not at run time, as C or Java.  However, it would be much
>> better if  functional languages could be as good to show where the error
>> is, as they are good to choose when to tell me that I made a blunder.
>
>This is a compiler issue not a language issue.
>I do not know whether GHC would give a better error message
>than Clean.  Quite possibly not; but the way to find out
>is to try it.  You just need to convert your program to Haskell
                    ^^^^
>and have a go.

Well Simon, I don't want to spoil the fun, but do you have a Clean
to Haskell convertor, taking care of GUI issues and all?

If it also runs on a Mac I would love to have it.

>Incidentally, GHC will give much much better error messages if
>you give type signatures to your functions.

(...)

cheers!
Marco


---------------------------------------------

Marco Kesseler
Oce-Technologies B.V.
St. Urbanusweg 43, Venlo, The Netherlands
P.O. Box 101, 5900 MA Venlo, The Netherlands
telephone +31 77 359 5158
fax       +31 77 359 5450
e-mail    mke@oce.nl