Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Switch to tuple syntax for matching effects #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lpw25
Copy link
Member

@lpw25 lpw25 commented Feb 28, 2016

This patch switches to a tuple-style syntax for matching effects. Replacing:

match ... with
| effect A k ->
| effect (B x) k ->
| effect (C(x, y)) k ->

with:

match ... with
| effect A, k -> ...
| effect B x, k -> ...
| effect C(x, y), k -> ...

which I think is slightly nicer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant