POV-Ray : Newsgroups : povray.off-topic : Really epic : Re: Really epic Server Time
11 Oct 2024 03:16:16 EDT (-0400)
  Re: Really epic  
From: nemesis
Date: 14 Feb 2008 14:55:00
Message: <web.47b49c5b9e92b6c266f20de80@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> (g,s) = (\x -> x, \x -> x*x)
>
> That last line is the best. I didn't even realise you could *do* that!

yes!  very cool!  Looks like Perl/Python 2 way assignment, but of course there's
no assignment here, it's 2 functions defined in the same line by 2 tuples!
Haskell is amazing...

> Very odd...
>
> Right, so, let's do some analysis here.

man, just run this madness and see what it does...


Post a reply to this message

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