Yeah, it would. But I always write code like that, it feels ungainly... writing super-long, case-by-case instance declarations (So that I can add in one little caveat at the end, or something), and stuff. Makes me feel like I must be dumb!<br>
<br><div class="gmail_quote">On Tue, May 19, 2009 at 2:54 PM, Derek Gladding <span dir="ltr">&lt;<a href="mailto:derek@ebollocks.net">derek@ebollocks.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nathan Holden wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
[snip]<div class="im"><br>
My question, however, boils primarily down to this: Is there a way to make<br>
<br>
Foo :: Note -&gt; Note -&gt; Int<br>
Foo a b = a-b<br>
<br>
work?<br>
</div></blockquote>
<br>
Would a function<br>
<br>
Bar :: Note -&gt; Int<br>
<br>
make writing Foo easier?<br><font color="#888888">
<br>
- Derek<br>
</font></blockquote></div><br>