POV-Ray : Newsgroups : povray.off-topic : I found this interesting : Re: I found this interesting Server Time
1 Oct 2024 20:25:30 EDT (-0400)
  Re: I found this interesting  
From: Darren New
Date: 9 Apr 2008 16:23:53
Message: <47fd25d9$1@news.povray.org>
Orchid XP v8 wrote:
> Well, "functional" tends to mean two things: referencial transparency, 
> and first-class functions. 

Erlang has first-class functions as well as closures. Indeed, there are 
warnings in the docs saying things like "take care if you store a 
closure in a database that when you fetch it back out to run it, you're 
running the same version of the interpreter." :-)

>> How does Haskell handle things like the function for "the time right 
>> now"?
> 
> Sure. To the nearest picosecond, anyway. You can also measure CPU time 
> instead of wall time of you want. You'll need a monad, obviously. ;-)

I think I'll have to find a good explanation of monads again. :-)

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

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