|
|
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
|
|