POV-Ray : Newsgroups : povray.off-topic : Current questions : Re: Current questions Server Time
28 Jul 2024 18:25:56 EDT (-0400)
  Re: Current questions  
From: Orchid Win7 v1
Date: 10 May 2013 16:41:29
Message: <518d5b79$1@news.povray.org>
On 09/05/2013 09:43 PM, andrel wrote:
> obliatory reference:
> http://en.wikipedia.org/wiki/Whitespace_(programming_language)

"The idea of using whitespace characters as operators for the C++ 
language was facetiously suggested five years earlier by Bjarne Stroustrup."

Well, in a way, whitespace *is* an operator in Haskell. Or rather, 
function application is an operator (it even has an operator 
precedence), and function application is denoted by whitespace in Haskell.

In other way, inside a do-block, every end of line is replaced by the 
">>" or ">>=" operator. So end of line is a bit like an operator. 
(Although you can write explicit ";" characters if you prefer.)


Post a reply to this message

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