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

Would Medley consider a macro for inclusion ? #97

Open
bzhb opened this issue Mar 3, 2025 · 1 comment
Open

Would Medley consider a macro for inclusion ? #97

bzhb opened this issue Mar 3, 2025 · 1 comment

Comments

@bzhb
Copy link

bzhb commented Mar 3, 2025

Is being pure function a requirement for Medley or could macro be consider for inclusion ?

I ask this because I have a variation of assoc-some called assoc-when that works like that:

(assoc-when m
  cond1 :k1 v1
  cond2 :k2 v2
  ...)

I first based it on Medley assoc-some but had to convert it into a macro so that values are not evaluated when associated condition is false.

@weavejester
Copy link
Owner

My initial gut feeling is that this isn't a good fit for Medley.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants