How to add a monad transformer into a Spock app?

91 Views Asked by At

I have a basic hello world Spock app from following the tutorial, but now I want to add my own monad transformer, FooT, into the Spock transformer stack somehow.

I found this answer, but it looks like spockT isn't really used in the latest version of spock. Looks like now there is a spock function that takes a SpockCfg and a SpockM, but I don't see anything that takes an m argument where I can specify my monad transformer. Is it still possible to insert a FooT, StateT, or any other monad transformer into the spock transformer stack somehow? What am I misunderstanding? Thank you!

0

There are 0 best solutions below