On Thu, Jul 14, 2011 at 5:04 PM, Ertugrul Soeylemez <e...@ertes.de> wrote:
> Hello all,
>
> I really like the way Animas (fork of Yampa) represents reactive
> systems, and I would love to write some of my simulations using it.
> Unfortunately most of what I want to do requires dynamic systems, which
> can be boiled down to me believing to need an ArrowChoice instance for
> the SF arrow, because I have to choose between different signal paths
> depending on the input signal or events.
>
> Animas appears to be only suitable for robot-like systems with specific,
> predefined actors.
>
> Is there anything I can do about it?  Is it difficult to write the
> ArrowChoice instance?  Or is there a different solution, which I
> overlooked?

If I understand the thesis about the Frag game correctly it uses
rSwitch, or rpSwitch, to make a dynamic switch:
http://www.haskell.org/haskellwiki/Yampa/rSwitch
http://haskell.org/haskellwiki/Frag

I've never used yampa though so I may have misunderstood the problem
and/or question.

Jason

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to