POV-Ray : Newsgroups : povray.off-topic : 1ee7 : Re: 1ee7 Server Time
3 Sep 2024 11:21:29 EDT (-0400)
  Re: 1ee7  
From: Darren New
Date: 2 Feb 2011 13:01:14
Message: <4d499bea$1@news.povray.org>
Bill Pragnell wrote:
> Invisible <voi### [at] devnull> wrote:
>> Ix -> x
> 
> [snip etc]
> 
>> Does your brain hurt yet?
> 
> Nope, I have no frame of reference so it's meaningless to me. 

Upper case is function names, lower case is arguments, -> is "returns".

Ix->x means there's a function I that takes an argument and returns it - 
identity.

Kxy -> x - K takes two arguments and returns the first. (This is the "K 
combinator" or something that some famous venture capitalist named his 
company after.)

Sfgx -> (fx)(gx) - Given functions f and g, apply f to x and g to x, and 
then apply the result of the first call (which is a function) the the result 
of the second call. I think.

Continue from there.


This is all normal "how to define a programming language formally" sorts of 
stuff. There are actual (obviously specialized) programming languages (like 
LOTOS) that you write this way.





-- 
Darren New, San Diego CA, USA (PST)
  "How did he die?"   "He got shot in the hand."
     "That was fatal?"
          "He was holding a live grenade at the time."


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.