Open mantepse opened 8 months ago
Strictly speaking, this isn't a bug but invalid input. The base case is not returning an element in L
, and the input to sum
is expecting an element of L
from the function. So if you change the return 1
-> return L.one()
, it works.
That being said, it would be desirable to automatically coerce (convert?) the inputs into L
, but that would require the stream to know something about the parent.
Steps To Reproduce
define:
Expected Behavior
Actual Behavior
we actually have
D
failsAdditional Information
A workaround is to define
Environment
Checklist