duke
unread,May 20, 2012, 10:14:00 AM5/20/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I've read that in Haskell, it is common practice to append an apostrophe to a function name to show that the function is non-lazy. E.g. :
doubleSmallNumber' x = (if x > 100 then x else x*2) + 1
I'm not groking the difference between lazy and non-lazy. What would be the lazy equivalent to the above function? TIA ...