With Scotty, how can I combine ScottyM with a custom monad with ScottyT

前端 未结 0 1195
有刺的猬
有刺的猬 2021-01-15 05:48
data MyAppR = MyAppR {
  dbPool :: Pool Connection
                     }

type NewApp = ReaderT (MyAppR) IO
type AppActionNew a = ActionT L.Text NewApp a
type AppSe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题