[Haskell-beginners] type error in sub-function

Alexander Batischev eual.jp at gmail.com
Sat Feb 15 23:06:54 UTC 2014


On Sat, Feb 15, 2014 at 06:00:14PM -0500, Brent Yorgey wrote:
> It has nothing to do with binding, actually.  The above is just due to
> the monomorphism restriction.  If you turn it off (highly
> recommended!):

I stand corrected. Been thinking about it, actually, but somehow managed
to miss it when tried things out in GHCi. Thanks!

-- 
Regards,
Alexander Batischev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140216/5c67d82d/attachment.sig>


More information about the Beginners mailing list