I fail to see how is identity considered constant.

To me succ and pred are ideologically similar to identity (where as
they return successor / predecessor of the input argument), and from
your point of view they should also be constant since there is only
one succ and one pred function. Actually, from your point of view each
unique function (a function that returns different result for
different argument) should be considered constant function since there
is only one way to get the result.

Also, I found this example in my (quite old) "learn c" book under
"defining functions and constants"

 #define PI   3.14159
 #define pred(x)  ((x)-1)

which further proves my point.

To me a constant function is f(x) = x^0, since it's always equal to 1.

-- joneff

On Oct 21, 12:44 pm, Izidor Jerebic <ij.l...@gmail.com> wrote:
> I beg to differ. IDENTITY is constant in function value space  
> similarly as PI is constant in floating point value space. There is  
> only one IDENTITY and only one PI...
>
> This calls for all-upper-case, similarly for K (or whatever it is  
> called)...
>
> izidor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to