[#309] Replace `caps` with `ReaderT`
Description
Problem: We have Morley.Nettest.Caps module that provides ReaderT-based
interface. However, it does so using the caps
library. The primary
feature of caps
is so-called "late binding". If there are multiple
effects (or capabilities), caps
lets you change one capability so that
it affects all other capabilities.
However, a long time has passed since this was implemented and we
haven't found a use case for caps
's features.
Solution: Since we're using caps
as ReaderT
, we might as well just
use ReaderT
directly. It's one fewer dependency, and devs are more
familiar with ReaderT
.
Also took the opportunity to delete some unnecessary functions from Abstract
and improve the docs a bit.
Related issue(s)
Resolves part of #309 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.