>>>>> "Jose" == Jose Emilio Labra Gayo <[EMAIL PROTECTED]> writes:

    > I have 3 wishes for Haskell (specially Hugs)
    ...
    > 3.- Type-check incomplete programs 
    > -----------------------------------
    > It would be useful to check if your code is type correct without having all 
    > the definitions, assuming only that when a function is not defined, the type 
    > declaration is right.

For this (and much else) I find the error function very helpful.  Put

> h = error "h unimplemented"

(and remember to implement it later!)  If you find it a drag to type
the definition in, spend 2 minutes to write an emacs macro, or the
equivalent in Your Favourite Editor. 

Regards,
Peter Hancock




Reply via email to