Open garyb opened 8 years ago
I'm not sure why I opened this actually, I think like Foldable
it's probably lawless.
Closest thing I've found:
http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.42.1735
It states that h = unfold p f g
is equivalent to h x = if p x then [] else f x : h (g x)
, but I'm not sure that adds anything to the table.
What's the law for this one?