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

Flatten the main function #116

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Flatten the main function #116

merged 1 commit into from
Sep 27, 2023

Commits on Sep 27, 2023

  1. Flatten the main function

    This should make it a bit easier to read while hopefully making it
    easier to change in the future.
    
    Use pattern matching to see if the user wants to the see the usage
    instructions, this allows us to make use of one `case` expression
    instead of a `case` expression and an `if` expression.
    
    Do configuration reification pointfree style while using lenses.
    
    Co-authored-by: Jacob "Jassob" Jonsson <[email protected]>
    Rembane and Jassob committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    ca718be View commit details
    Browse the repository at this point in the history