0
comment
comment
on 8/26/2013 5:29 AM
It’s possible to use function composition and modify the type of value returned. Consider the following equation: 1/4x2 I might encode the function to calculate this like so: let square x = x * x let recip x = 1.0/x //If this is an int division it will always round to 0 if x is […]