Skip to content

Add min and max helper functions#11

Open
skyjoe999 wants to merge 1 commit intoJimmyCushnie:masterfrom
skyjoe999:Min-Max-Helpers
Open

Add min and max helper functions#11
skyjoe999 wants to merge 1 commit intoJimmyCushnie:masterfrom
skyjoe999:Min-Max-Helpers

Conversation

@skyjoe999
Copy link

@skyjoe999 skyjoe999 commented Jan 16, 2026

Basic helper functions to find the min or max in an array based on some mapping function. (C# natively provides min and max functions but they return the comparison value, not the original)

I'm a functional programming girlypop, sue me!

Currently would be useful for the placement code but really when are helper functions a bad thing?

Basic helper functions to find the min or max in an array based on some mapping function. (C# natively provides min and max functions but they only work on directly comparable values)
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.

1 participant