Skip to content

Fix #106 #112

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

Merged
merged 9 commits into from
Apr 5, 2025
Merged

Fix #106 #112

merged 9 commits into from
Apr 5, 2025

Conversation

Anton-4
Copy link
Collaborator

@Anton-4 Anton-4 commented Apr 2, 2025

This function makes the situation described in #106 a lot nicer :)

@Anton-4 Anton-4 changed the title Fix #106 DO NOT MERGE Fix #106 Apr 2, 2025
Comment on lines -12 to -15
expect "INFO: Checking if sqlite3 is installed...\r\n"

expect "3*" # sqlite3 version

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is no longer in the output.

Comment on lines +57 to +65

decode_db_status : Str -> Result TodoStatus _
decode_db_status = |status_str|
when status_str is
"todo" -> Ok(Todo)
"completed" -> Ok(Completed)
"in-progress" -> Ok(InProgress)
_ -> Err(ParseError("Unknown status str: ${status_str}"))
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To demonstrate the new map_value_result function.

@Anton-4 Anton-4 changed the title DO NOT MERGE Fix #106 Fix #106 Apr 3, 2025
@Anton-4 Anton-4 merged commit 135f9db into main Apr 5, 2025
10 checks passed
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