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

Add fn properties test helpers #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dball
Copy link

@dball dball commented Aug 7, 2016

This idea came to me in the shower earlier today, no idea how useful it might be in this form, but I thought I'd toss it out there for rumination.

I think a stable of fns to express common fn properties could be pretty useful.

@gfredericks
Copy link
Owner

I don't think this works because the :args key passed into the :fn function is conformed into a map, it's not a sequence.

@gfredericks
Copy link
Owner

which is problematic for commutative and associative; I'm not sure you can reconstruct the arguments from the conformed value

@dball
Copy link
Author

dball commented Aug 8, 2016

s/unform oughta do it, right?

@gfredericks
Copy link
Owner

you'd need to have the :args spec accessible too then, right?

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

Successfully merging this pull request may close these issues.

2 participants