-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
small step towards displaying animations of Board UI
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flip fromMaybe mempty
is probably not doing what you think it does: it is equivalent to\maybeEffect -> fromMaybe maybeEffect Nothing
which is equivalent tomaybeEffect
. I guess you wanted to have the "neutral attack effect" instead. It is not declared (yet):AttackEffect
is only a semigroup, not a monoid. I'll add it and try to fix it.