You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dunai's exception handling has been ported to Rhine's SyncSFs with some boiler plate code. This is still missing for most other transformers (e.g. #13 is a subissue of this).
The main issue is always that one can't directly apply the functions from Dunai's Control.Monad.Trans.MSF.*, since in a SyncSF, the outermost monad layer is ReaderT.
So one needs to commute some transformer past the outermost ReaderT layer of SyncSF,
then handle it, and possibly commute it back.
Doing this in a systematic way (e.g. a type class) would maybe clean up code and simplify progress.
The text was updated successfully, but these errors were encountered:
Dunai's exception handling has been ported to Rhine's
SyncSF
s with some boiler plate code. This is still missing for most other transformers (e.g. #13 is a subissue of this).The main issue is always that one can't directly apply the functions from Dunai's
Control.Monad.Trans.MSF.*
, since in aSyncSF
, the outermost monad layer isReaderT
.So one needs to commute some transformer past the outermost
ReaderT
layer ofSyncSF
,then handle it, and possibly commute it back.
Doing this in a systematic way (e.g. a type class) would maybe clean up code and simplify progress.
The text was updated successfully, but these errors were encountered: