Skip to content
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

Minor fixes #11

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

Minor fixes #11

wants to merge 8 commits into from

Conversation

kubukoz
Copy link
Contributor

@kubukoz kubukoz commented Nov 10, 2023

I'm not 100% sure about the second one, but the types didn't seem to align: AFAIK fmap f x *> a has to discard the result of f

Comment on lines +1761 to +1764
= singleton (kctx <> k) completed
findClues kctx (clue k c)
= singleton (kctx <> [k]) seen
<> findClues (kctx <> [k]) c
= singleton (kctx <> k) seen
<> findClues (kctx <> k) c
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The [] doesn't seem to be relevant here because we only know kctx is a data Clue (with a monoid) at this stage.

@kubukoz kubukoz changed the title Minor fixes to step/clue laws Minor fixes Nov 11, 2023
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