Closed FabHof closed 1 year ago
Thanks Fabian, we will look in to this.
Hi @FabHof, I can't seem to reproduce this.
Would you mind sharing your full solution and copy the comment you saw? Alternatively, you could send us a mentoring link so we can take a look ourselves.
Thank you for sharing, I've identified the problem.
You received this comment, which is supposed to tell you about another problem, but instead it is a duplicate of this one. @ceddlyburge, could I ask you to rewrite the comment?
The real comment should be about this function:
resetPlayerGoalCount : PlayerName -> Dict PlayerName Int -> Dict PlayerName Int
resetPlayerGoalCount playerName playerGoalCounts =
playerGoalCounts
|> Dict.update playerName (\_ -> Just 0)
and tell you that Dict.insert
is the most appropriate function to use in this case because it doesn't require to define a function unlike Dict.update
.
Thanks @jie, I'll take a look at that ...
This solution triggers
removeInsignificantPlayersMustUseFilter
although Dict.filter is used