dry-rb / dry-logic

Predicate logic with rule composition
https://dry-rb.org/gems/dry-logic/
MIT License
179 stars 66 forks source link

Param names in ast v2 #17

Closed fran-worley closed 8 years ago

fran-worley commented 8 years ago

This updates the AST to include predicate argument names and is a much cleaner solution than #13.

@solnic your thoughts please?

fran-worley commented 8 years ago

We've got to add specs to the rule compiler & update it to work with the new ast https://github.com/dry-rb/dry-logic/blob/master/lib/dry/logic/rule_compiler.rb#L54

solnic commented 8 years ago

We made it 🎉