nicolasrusso
Joined 5 years ago
Karma
9
Submissions
8
Member since
May 5
Joined 5 years ago
Here's my best understanding so far:
A functor is a function that takes in a list of things and like a regular function, outputs a list of modified things...
So how is this different from a function?
So far all I got from this is that functors are functions?
For those who like me wanted to see the edge case for the non-monotonic function, if you do:
-2 < -1
-2 is in fact less than -1.
However:
(-2)^2 < (-1)^2 ==becomes==> 4 < 1
And 4 is obviously not less than 1.