[Haskell-cafe] fromIntegral not enough?
Christopher Howard
christopher.howard at frigidcode.com
Tue May 14 02:07:26 CEST 2013
On 05/13/2013 02:53 PM, Tom Ellis wrote:
> On Mon, May 13, 2013 at 11:43:41PM +0100, Tom Ellis wrote:
>
> You probably want
>
> let angles = map ((* dAng) . fromInteger) [0..divns] in
> ...
>
> instead.
>
Ah, that works. Thanks all.
--
frigidcode.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130513/738365b5/attachment.pgp>
More information about the Haskell-Cafe
mailing list