Polysemy: 18.104.22.168 released!Gautier DI FOLCO April 21, 2023 [Haskell] #haskell #polysemy #design #effects systems
Things have evolved since the beginning of this series!
Polysemy had two major releases:
Not a lot of things have evolved, but we can notice few things:
withLowerToIOand all the related interpreters (
lowerEmbed, etc.) have been removed
Polysemy.Viewhas been dropped
Opaqueeffects have been introduced
The only change we had to make in our codebase was to change:
withLowerToIO $ \lower _ -> withResponse req $ \_ -> lower act
withWeavingToFinal @IO $ \initialState lower _ -> withResponse req $ \_ -> lower $ act <$ initialState
We'll review new effects in next logs.