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

missing ergonomics to merge roles together #357

Open
nasser opened this issue Mar 25, 2019 · 0 comments
Open

missing ergonomics to merge roles together #357

nasser opened this issue Mar 25, 2019 · 0 comments

Comments

@nasser
Copy link
Contributor

nasser commented Mar 25, 2019

There isn't a an easy way to merge several defroles into a single roles map and I find myself writing repetitive code like:

(def bullet
  {:age-and-remove age-and-remove
   :tube-position tube-position
   :damage-things damage-things})

Some ergonomic functions to make the (possibly common) case where roles are singletons on their keys a little easier would be welcome here.

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

1 participant