Haskell: lift vs liftIO
lift always lifts from the “previous” layer. If you need to lift from the second layer, you would need lift . lift and so on. On the other hand, liftIO always lifts from the IO layer (which, when present, is always on the bottom of the stack). So, if you have more than 2 layers … Read more