ericpashman
ericpashman
FYI, see my comment [here](https://github.com/LnL7/nix-darwin/issues/105#issuecomment-567742942) on how to reset your `NIX_PATH` to remove this warning. Note my caveat that updating `nix.nixPath` and running `darwin-rebuild switch` for some reason does not...
This issue has added salience since macOS Catalina switched the default shell to `zsh`. The above advice worked for me to get everything set up correctly for both `zsh` and...
My pull request [#52](https://github.com/migamake/json-autotype/pull/52) updates the codebase to work with the latest Stack LTS resolver, LTS 21.9.
There was a bit of discussion related to this request a couple of years ago [here](https://github.com/PaulJohnson/Haskell-Decimal/issues/6). I don’t recall why I didn’t suggest adding a `Generic` instance at the time,...
Yes, I meant that the PR related to that issue included the change that made it possible to derive generic instances of all types in the `Data.Decimal` package. `GHC.Generics` and...
Yes, that’s what I’m referring to. GHC can’t derive generic instances for datatypes with class constraints, which is why I suggested removing the constraint in 2014. Sorry for the confusion,...
This arose again in constructing a JWT for API access. The JWT header requires a nonce, and (I think) the nonce header can be either protected or unprotected. Compact serialization.
Yes, as I mentioned, both of the examples I constructed work. My point in providing the second example is that it is "nicer", but that it requires a type definition...
FYI, defining custom headers in the way I described at the end of the OP does type-check, but it does not in fact work. That is, this type-checks but ultimately...
FYI, my pull request [#52](https://github.com/migamake/json-autotype/pull/52) updates the codebase to work with the latest Stack LTS resolver and newer dependencies including Aeson 2.x. Wish I had seen this PR before duplicating...