<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 14, 2013 at 4:07 AM, Andrew Fleckenstein <span dir="ltr"><<a href="mailto:andrew.fleckenstein@gmail.com" target="_blank">andrew.fleckenstein@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I know it has something to do with types, </blockquote><div><br></div><div>Right! :)<br></div><div>
 </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">but whenever I try to add a type signature to the functions it just messes everything up even more.</blockquote>

</div><br></div><div class="gmail_extra">This works: let a :: [Double]; a = [-1,2,-6,2]<br><br></div><div class="gmail_extra">This works too: let a :: Num a => [a]; a = [-1,2,-6,2]<br><br></div><div class="gmail_extra">

What do you think are the pros and cons of either?<br></div><div class="gmail_extra"><br clear="all"><div>-- Kim-Ee</div>
</div></div>