|
Re: Begginer question: msg#00058lang.haskell.cafe
Ketil Malde wrote: Maurício <briqueabraque@xxxxxxxxx> writes: When I type this: ***** import Complex; a = 3 :+ 4; ***** and load it into ghci, "a + 4" gives me "7.0 :+ 4.0", although "a + (4::Float)" gives me that error again. Why Haskell converts "4" to Complex but not a Float? Maurício |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Seeking comments on this IO proposal: 00058, Simon Marlow |
|---|---|
| Next by Date: | Re: Begginer question: 00058, karczma |
| Previous by Thread: | Re: Begginer questioni: 00058, Ketil Malde |
| Next by Thread: | Re: Begginer question: 00058, karczma |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |