"Mike T. Machenry" <[EMAIL PROTECTED]> writes: > I am having a problem. I recently desided I wanted a bunch function to return > float instead of Int. I changed their type and wrote a new function that > returned a float. I figured it'd be okay if all the others still returned > Int since it's trivial to convert Int to Float.
Perhaps the other functions could be written with a more general type? (E.g. :: Num a => ... -> a) Try to remove the type declaration, and see what Hugs or GHCi :t has to say about it! -kzm -- If I haven't seen further, it is by standing in the footprints of giants _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell