Skip to content

Conversation

@lue-bird
Copy link
Collaborator

@lue-bird lue-bird commented Dec 27, 2025

A few very simple ones

List.minimum (List.range 2 3)
--> Just 2

List.maximum (List.range 2 3)
--> Just 3

List.range n n
--> [ n ]

The first 2 are mentioned in #306, last one is listed in #2

@jfmengels
Copy link
Owner

Very nice 👍
I'll update the issues

@jfmengels jfmengels merged commit deb7ef4 into jfmengels:main Dec 27, 2025
2 checks passed
@lue-bird lue-bird deleted the more-range-simplifications branch December 27, 2025 21:37
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