compiling-to-categories / concat

Compiling to Categories
http://conal.net/papers/compiling-to-categories
BSD 3-Clause "New" or "Revised" License
431 stars 49 forks source link

Add support for minimum and maximum over functors. #74

Closed mikesperber closed 2 years ago

mikesperber commented 3 years ago

Primarily for AD.

This was the simplest I could come up with. Suggestions to improve naming are welcome.

sellout commented 2 years ago

We did something similar in our extension to the concat hierarchy. However, we didn't require the MinMax or MinMaxFFunctorCat classes.

That is, I think this change is useful, and it would allow us to remove some of our own extensions if it were merged.