[Haskell-cafe] Re: [Haskell] ANN: Streaming Component Combinators 0.4

Henning Thielemann schlepptop at henning-thielemann.de
Fri Jan 15 17:36:56 EST 2010


Mario Blažević schrieb:
> Henning Thielemann wrote:
>>
>> Stupid question: Is it related to Arrows?
>
>     Not really. You might say it's more general than arrows, because 
> the streaming components are not restricted to a single input and 
> single output type. On the other hand, they are all specific to stream 
> processing, much like Fudgets and Yampa which are arrow-based.
Arrows use tuple values for multiple inputs and outputs. Actually I'm 
using arrows this way for signal processing.
>     I suppose the Transducer data type [1] could be made an Arrow 
> instance, which would let me rename the 'connect' combinator [2] to 
> (>>>). I'll have a look at Yampa to see if I can harvest more 
> combinator names, thank you!
>
>
> [1] 
> http://hackage.haskell.org/packages/archive/scc/0.4/doc/html/Control-Concurrent-SCC-Types.html#t%3ATransducer 
>
> [2] 
> http://hackage.haskell.org/packages/archive/scc/0.4/doc/html/Control-Concurrent-SCC-Combinators.html#v%3Aconnect 
>

In whatever way it is related to arrows, maybe you can mention it on the 
project page.




More information about the Haskell-Cafe mailing list