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

Accept both match _and_ condition for the key #9

Open
am-kantox opened this issue Nov 2, 2018 · 0 comments
Open

Accept both match _and_ condition for the key #9

am-kantox opened this issue Nov 2, 2018 · 0 comments
Labels
question Further information is requested

Comments

@am-kantox
Copy link
Owner

Resulting in generated:

def valid?(%{foo: <<"FOO", rest :: binary()>>}) when bitstring(rest) < 42

Additional questions:

  • invent a smart way to handle patterns in parameters to rules (simple macro?)
  • do we need this?
@am-kantox am-kantox added the question Further information is requested label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant