Open turion opened 7 years ago
@ivanperez-keera do you have a recommendation/opinion/idea here?
Haven't checked, but I suspect this might type-check with indexed monads or with some other form of monad/foldable that uses a monoidal operation on an index. See the work by Jan Bracker on supermonads.
The following wouldn't type check:
But it would be practical, e.g. to fold a large number of behaviours over several clocks etc.