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

Ability handler counter concept #20

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

rlmark
Copy link
Contributor

@rlmark rlmark commented Jun 7, 2022

First try at adding a concept with first concept exercise.

This concept is about writing your own algebraic effect handlers (called abilities) in Unison. It will eventually have a prerequisite, which is about using abilities, but ability handlers are a huge missing piece for our existing community in terms of exercises and practice opportunities. A branch for the "using pre-made abilities and ability handlers" content can be found here.

The idea with the planned ability-handlers concept exercises is that we'll start with simple ability handlers (here we just model a Counter effect) and guide learners towards writing more complicated handlers for different abilities.

@rlmark rlmark marked this pull request as draft June 9, 2022 07:26
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