instance (MonadTransControl t, RegionBaseControl b parent) =>
RegionBaseControl b (t (RegionT s parent)) where
unsafeLiftBaseWith f =
liftWith $ \runT ->
unsafeLiftBaseWith $ \runInBase ->
f $ liftM St . runInBase . runT
...
This allows to have mixed stacks of RegionT transformers and other transformers.
If allowed by GHC, add the instance:
This allows to have mixed stacks of RegionT transformers and other transformers.