Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify the update function #32

Merged
merged 3 commits into from
Nov 17, 2023
Merged

Simplify the update function #32

merged 3 commits into from
Nov 17, 2023

Conversation

w0rm
Copy link
Owner

@w0rm w0rm commented Nov 17, 2023

  • Pattern match on tuples in the update function
  • Extract the simulate function that either continues or stops the simulation with whatnext

@w0rm w0rm merged commit d5b3edd into main Nov 17, 2023
1 check passed
@w0rm w0rm deleted the refactor7 branch November 17, 2023 22:01
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