POV-Ray : Newsgroups : povray.off-topic : More random humous : Re: More random humous Server Time
10 Oct 2024 03:19:05 EDT (-0400)
  Re: More random humous  
From: Orchid XP v8
Date: 8 Oct 2008 13:27:18
Message: <48eced76$1@news.povray.org>
Warp wrote:

>   What if you want to change the image and want all the sprites using that
> image to see the change?

In Haskell, you must either manually track down all the sprites and 
update them, or you must explicitly use mutable state.

Notice that this is a *design feature*; it prevents things from suddenly 
changing when you didn't touch them, but only touched something they 
indirectly reference. This behaviour can be unexpected in a large, 
complex system. If you actually _want_ this, you must perform work to 
make it happen. (Or... use mutable state.)

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

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