This is what I thought when I first saw the parent comment. It looks like an interesting alternative approach, but from the example I am not clear on why it is more flexible than the version using typeclasses.
I reckon I will need to re-implement my mocks using the technique you describe to really understand the motivation.
I reckon I will need to re-implement my mocks using the technique you describe to really understand the motivation.