Open diqye opened 4 months ago
Due to the functional dependency on MonadReader
, you can't have any m
with two different environments like that. You'd have to do something like a MonadReader (Char, Int) m
constraint, then ask
would get you both.
I wrote some code as below
When I run, it will be appear some errors![image](https://github.com/haskell/mtl/assets/34941345/f97f3eae-ab21-459c-912d-eab8abf603a5)