Skip to content

Relax monad-time bounds, and add a workaround for now #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

414owen
Copy link

@414owen 414owen commented Oct 10, 2022

monad-time 0.4.0.0 removed an instance Monad m => MonadTime (ReaderT UTCTime m)

Which was required for now in Libjwt.Payload.

Luckily, it seems easy enough to create a NumericDate in a MonadReader UTCTime m

Owen Shepherd and others added 3 commits October 10, 2022 14:06
`monad-time` 0.4.0.0 removed an instance `Monad m => MonadTime (ReaderT UTCTime m)`

Which was required for `now` in `Libjwt.Payload`.

Luckily, it seems easy enough to create a `NumericDate` in a `MonadReader UTCTime m`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant