POV-Ray : Newsgroups : povray.off-topic : Ocaml : Re: Ocaml Server Time
4 Sep 2024 11:14:55 EDT (-0400)
  Re: Ocaml  
From: Darren New
Date: 5 Feb 2010 17:21:06
Message: <4b6c99d2$1@news.povray.org>
Orchid XP v8 wrote:
> Either Int String

Obvious once stated.

> Oh, the *type constructor* for a 2-tuple is "(,)", and for a 3-tuple 
> it's "(,,)".

Not in Python. The cosntructor for a 2-tuple is ,
No parens needed. Figure *that* one out. :-)

>> Common in a lot of other languages like SQL and Ada. FWIW.
> I know Eiffel uses it. But then, Eiffel is weird.

That too. All the "readable" languages tend to use it, because it's how you 
offset comments in English -- that is, if you have a comment to make.

-- 
Darren New, San Diego CA, USA (PST)
   Forget "focus follows mouse." When do
   I get "focus follows gaze"?


Post a reply to this message

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