tvl-depot/website
William Carroll 4ff1ea291c Drop support for ServantT transformer type for server
After burning a few hours wrestling with the type system, I decided to revert to
the simpler `Server API` type instead of the `ServantT` transformer type.

The problem is that I couldn't write a MonadError instance for `RIO Context`,
which is my `AppM` (i.e. application monad). Using `throwIO` in the server
handlers results in 500 errors, which is not what I wanted. I'm still pretty
fuzzy about what's happening; I now know that exception handling in Haskell is
pretty gnaryly. I may revisit this at a later time when my knowledge is more
extensive. For now: time to fry bigger fish.

An easier abstract is for me to pass `T.Context` into `server` as an argument,
which after all is what a Reader does.

TL;DR:
- Read server, client ports from .envrc
- Define a top-level Failure type (empty for now)
- Define a top-level Success type
- Define App as RIO Context (Either Failure Success)
2020-08-10 15:02:05 +01:00
..
blog Prefer builtins.path 2020-07-02 13:28:59 +01:00
days-of-week-habits Prefer builtins.path 2020-07-02 13:28:59 +01:00
goals Prefer builtins.path 2020-07-02 13:28:59 +01:00
habitgarden Prefer builtins.path 2020-07-02 13:28:59 +01:00
habits Create //playbooks 2020-07-20 14:38:50 +01:00
learn Run Prettier across projects 2020-03-27 10:59:50 +00:00
sandbox Drop support for ServantT transformer type for server 2020-08-10 15:02:05 +01:00
default.nix Prefer builtins.path 2020-07-02 13:28:59 +01:00
index.html Publish habits as a webpage 2020-03-27 16:02:44 +00:00
README.md Add README to //website 2020-04-05 16:29:17 +01:00

wpcarro.dev

https://wpcarro.dev is my personal website. I expose a few subdomains, one of which you are probably visiting right now, git.wpcarro.dev. Here are some of the others:

  • blog.wpcarro.dev: My personal blog
  • learn.wpcarro.dev: Teaching others to code
  • sandbox.wpcarro.dev: Where I deploy some pet projects and code sketches

Visit https://wpcarro.dev for a sitemap.