-
-
Notifications
You must be signed in to change notification settings - Fork 195
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
dnd-character: add new exercise #782
Conversation
@petertseng: Update: I see that you answered this in #751, e.g.:
|
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.
I am hoping this exercise with randomness is easier to understand than the other two exercises that want it (simple-cipher and robot-name). I think it is because we know it's going to be Gen
, whereas with the other two exercises we have IO
and there are a lot of things that could be IO
. (though hopefully students do know to search for random at some point. It's in the exercise descriptions after all)
If students still find it too hard, perhaps they would benefit from a link to Gen. And perhaps an exercise showing do-notation should be strategically placed, with links to explanations of that. If that is so, we'd want to record that last idea in #761 .
Thanks! I'll address your comments on Monday. |
Since I haven't advanced this one yet, note to self:
|
This exercise was created in exercism/problem-specifications#1397. It is a basic exercise in random generators, so the idea I had for the Haskell track was to practice making QuickCheck generators rather than simply use the standard random generator. For this reason, QuickCheck is added as a root dependency.
Another test case was added in exercism/problem-specifications#1416, but it doesn't apply to QuickCheck generators, I think.
I've added some links in the hints section, changed the title, switched to |
This exercise was created in exercism/problem-specifications#1397.
It is a basic exercise in random generators, so the idea I had for the
Haskell track was to practice making QuickCheck generators rather than
simply use the standard random generator.
For this reason, QuickCheck is added as a root dependency.