Thanks to all for their assistance....
By changing the output of distBetween to Float the function seemed to work. And using the fromIntegral I was able to get my program, which accepts only Ints, to work.

I was a little antsy about using fromIntegral because it isn't covered in my text (Haskell:SOE) until later chapters. But I can find no other way

Deech


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to