-
Notifications
You must be signed in to change notification settings - Fork 16
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
Update custom commands in help after they changed #822
base: master
Are you sure you want to change the base?
Conversation
2646690
to
2564f30
Compare
@jappeace do I understand correctly that this PR is ready for the review? If so I'll try to do that Thursday stream. Thanks for submitting! |
@rexim Yes it works. I'll join strim later ~18:00 |
|
||
-- | Moved out of CustomCommand to break dependency cycle: | ||
-- Help depends on this type, but custom commands needs | ||
-- to refresh Help and therefore also this type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I understand correctly that this is a "haskell doc string" and it will show up in the documentation when we try to generate it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, like javadoc.
You can run cabal haddock exec:HyperNerd
to make it.
This is my suggestion for solving #815
It works but hlint is upset. I'd like to solve that but I have a question first.
At the moment two reactions are produced, one for refreshing the custom commands and another for whatever command is being changed.
I'm not sure if this is desired at all.
If you do think it'd be good to have multiple reactions then I'd like to add an and combinator to the reaction API (because it already has an either, adding and seems fitting).