[Haskell-cafe] How to implement a digital filter, using Arrows?

John Lask jvlask at hotmail.com
Tue Oct 18 05:35:22 CEST 2011



your function corresponds with Control.Arrow.Transformer.Automaton. If 
you frame your function is such most of your plumbing is taken care of.

http://hackage.haskell.org/packages/archive/arrows/0.4.1.2/doc/html/Control-Arrow-Transformer-Automaton.html

On 18/10/2011 1:46 PM, Captain Freako wrote:
> Hi all,
>
> If I have a pure function, which maps `(input, initialState)' to `(output,
> nextState)', what's the most succinct way of constructing a digital filter
> from this function, using Arrows?
>
> Thanks,
> -db
>
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe




More information about the Haskell-Cafe mailing list