
On Sat, 03 Jul 2010 20:18:24 -0300
MAN
The Integer/Num discrepancy you experience is due to ghci pushing the types a bit... put your code in a file for better results.
ok so this is the ghci monomorphism restriction that daniel was talking about which can be shut off with :set -XNoMonomorphismRestriction in the .ghci file
However, to keep it simple, just say that 'f' takes two arguments ;)
ok this is helpful and combined with daniel's explanations (which i'll respond to later after some thought) has made things considerably clearer. thx elvio!
part 3: I refuse to put myself through that twisted experiment of yours :P
just my attempt at introducing some recurrysion. :D -- In fiendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's