Skip to content

Conversation

jappeace
Copy link
Contributor

@jappeace jappeace commented Nov 25, 2019

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).

@jappeace jappeace force-pushed the master branch 2 times, most recently from 2646690 to 2564f30 Compare January 19, 2020 18:05
@rexim
Copy link
Member

rexim commented Jan 21, 2020

@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!

@jappeace
Copy link
Contributor Author

@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.
Copy link
Member

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?

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants