Hi,
I am new to Haskell and am learning Haskell on my own with The Haskell
School of Expression. Unfortunately there is no teacher that comes
along with the book. I am having a problem with loading an excerise.
I get this message from ghci on a :l Shapes.hs
Shapes.hs:40:40:
Couldn't match
On 10/3/06, Edward Ing [EMAIL PROTECTED] wrote:
The source is below. Side is types as Float. My assumption was that
Haskell would know how to convert the Int to a float and all would be
well. I am I mistaken somewhere? The problem is with the last line.
Yes - Haskell does not automatically
Hello Edward,
Tuesday, October 3, 2006, 9:44:27 PM, you wrote:
Couldn't match `Side' against `Int'
In the first argument of `sin', namely `angle'
The source is below. Side is types as Float. My assumption was that
Haskell would know how to convert the Int to a float and all would be