Closed paf31 closed 4 years ago
Does ArrowLoop depend on Haskell's lazy evaluation? It seems that Halogen's loop
relies on an initial state.
Does Costrong
cover this? unfirst
is loop
anyway, but there's also unsecond
.
I think it possibly does. I don't fully understand the intent of Costrong
yet, so I'm not sure.
Suggested:
with laws (cribbed from https://hackage.haskell.org/package/base-4.7.0.2/docs/Control-Arrow.html#t:ArrowLoop):
.. and the rest which I haven't figured out yet (TODO).