Skip to content

Add fn properties test helpers#11

Open
dball wants to merge 2 commits into
gfredericks:masterfrom
dball:add-fn-properties
Open

Add fn properties test helpers#11
dball wants to merge 2 commits into
gfredericks:masterfrom
dball:add-fn-properties

Conversation

@dball

@dball dball commented Aug 7, 2016

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Owner

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

@dball

dball commented Aug 8, 2016

Copy link
Copy Markdown
Author

s/unform oughta do it, right?

@gfredericks

Copy link
Copy Markdown
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