motor
motor copied to clipboard
Have 'call' operate on subset of resources
Instead of a type call :: m Empty Empty a -> m r r a
, it would be nice to accept a subset of r
as input to the inner computation, and perhaps have its output be a subset of the result output. Not sure if this would work with CTRex, though.
This might now be possible with row-types, after https://github.com/target/row-types/pull/2.