about summary refs log tree commit diff
path: root/website/sandbox/learnpianochords/src/server/Main.hs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-09T22·15+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-09T22·15+0100
commitf61ed25755da89f6068efb75642e2ac22d268278 (patch)
tree6a3c329bff079ba5415fb0aaa2488c50e1b263df /website/sandbox/learnpianochords/src/server/Main.hs
parentbbcd0bf27d2663a9673983ccf6e2cf7034ddf240 (diff)
Prefer ServantT for server to consume App context
Long story -> short: I'd like to access my App monad from within my Servant
handlers.

While this code type-checks, I'm not sure it's working as intended. Needing to
change throwError to throwIO fails the "smell test". I expect to refactor this
code, but I'm calling it a night for now.
Diffstat (limited to 'website/sandbox/learnpianochords/src/server/Main.hs')
0 files changed, 0 insertions, 0 deletions