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

better defaults for chained actions when there is no args/captureargs #105

Open
jjn1056 opened this issue Jul 22, 2015 · 0 comments
Open
Labels
Milestone

Comments

@jjn1056
Copy link
Member

jjn1056 commented Jul 22, 2015

https://gist.github.com/jjn1056/a455d0cf857871c40ab8

Currently if an action midpoint lacks captureargs, it becomes an end point as in the above gist, where the Args is presumed ... so these midpoints become both midpoints AND endpoints

Any true endpoint without a Args declaration is presumed Args (...)

even odder, if an action in a chain does do Args(1) and then another action chains off it, it becomes a CaptureArgs(0) midpoint.

Maybe we like this?

@jjn1056 jjn1056 added this to the orpington milestone Jul 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant