A software engineer website

Polysemy: 1.9.0.0 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: 1.8.0.0 and 1.9.0.0.

Not a lot of things have evolved, but we can notice few things:

The only change we had to make in our codebase was to change:

withLowerToIO $ \lower _ ->
  withResponse req $ \_ -> lower act

to:

withWeavingToFinal @IO $ \initialState lower _ ->
  withResponse req $ \_ -> lower $ act <$ initialState

We'll review new effects in next logs.