[reactive] Transforming Behaviors

Greg Fitzgerald garious at gmail.com
Mon Nov 24 13:27:22 EST 2008


Should it be possible to write this:

spinningTorusPair :: Double -> Behavior Geometry3
spinningTorusPair sz = uscale3 sz *% spinningG torusPair

Instead of this:

spinningTorusPair :: Double -> Behavior Geometry3
spinningTorusPair sz = (uscale3 sz *%) <$> spinningG torusPair


That is, should a Behavior of something transformable be an instance
of Transform as well?  Has anyone tried to implement this instance?

Thanks,
Greg


More information about the Reactive mailing list