[Haskell-beginners] Netwire loop
es at ertes.de
Thu Nov 1 11:15:10 CET 2012
Nathan Hüsken <nathan.huesken at posteo.de> wrote:
> When testing this netwire sample program
> mainWire :: WireP () Double
> mainWire = proc i -> do
> value <- integral_ 0.0 -< oldValue
> oldValue <- delay 1.0 -< value
> returnA -< value
> I get this output:
> NetwireTest: <<loop>>
> But there should be not infinite loop, should there?
That was a bug in the ArrowLoop implementation. It's fixed now in
version 4.0.1. Thanks for reporting.
Not to be or to be and (not to be or to be and (not to be or to be and
(not to be or to be and ... that is the list monad.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Beginners