Skip to content

Conversation

@jfcloutier
Copy link
Collaborator

@jfcloutier jfcloutier commented Jan 25, 2022

No description provided.

@jfcloutier
Copy link
Collaborator Author

I'm not sure about this, but is it Enum.reverse here instead of Enum.sort?

No but the code can be simplified to
if Enum.empty?(state.pending), do: nil, else: Enum.min(Map.values(state.pending))

@jfcloutier jfcloutier force-pushed the persistent branch 5 times, most recently from 8a9084b to f285ce8 Compare January 26, 2022 22:08
@jfcloutier jfcloutier marked this pull request as ready for review January 27, 2022 00:25
Copy link
Contributor

@grace-in-wonderland grace-in-wonderland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants