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

[ new ] direct dispatching of handlers using fromString #18

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

Conversation

gallais
Copy link
Collaborator

@gallais gallais commented Oct 7, 2021

Pros:

  1. A function handle : cmd ~:> IO () rather than a """record"""
  2. Coverage checking works

Cons:

  1. It's hijacking the fromString mechanism
  2. It'd be nicer to have handler ["sub1", "sub2"] rather than handler "sub1 sub2"

@ohad
Copy link
Owner

ohad commented Oct 8, 2021

wow.

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.

2 participants