[Haskell-beginners] Double vs. Num

Ben Rogalski bwrogalski at gmail.com
Wed May 4 22:12:22 UTC 2016


I have found that using the type Double in a type signature causes my
program to run much faster than if I use a type variable with a Num
constraint.

Is this common, and if so, why is explicitly using Double faster?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160504/25816964/attachment.html>


More information about the Beginners mailing list