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

Command abstractions #7

Open
windley opened this issue Apr 15, 2016 · 1 comment
Open

Command abstractions #7

windley opened this issue Apr 15, 2016 · 1 comment

Comments

@windley
Copy link
Member

windley commented Apr 15, 2016

KRL has no way to create abstractions of commands in the postlude.

A defcommand would parallel defaction and function. By abstracting commands we'd avoid writing rules and using chaining to do this.

Maybe we don't need this? Is rule abstraction sufficient?

@0joshuaolson1
Copy link
Contributor

Would a command represent just a postlude, or be able to call defactions like rules? The second case is basically a rule without a select, foreach, and ruleset position of its own.

farskipper pushed a commit that referenced this issue Sep 25, 2017
* Use lodash's unionWith for union operator

This should fix part of what is brought up in #23

* Add missing semicolon

* Switch out arrow function for normal function.

* add test for union with _.isEqual
farskipper added a commit that referenced this issue Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants