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

Addressbook refresh #504

Open
romanofski opened this issue Jan 2, 2023 · 0 comments
Open

Addressbook refresh #504

romanofski opened this issue Jan 2, 2023 · 0 comments

Comments

@romanofski
Copy link
Member

Is your feature request related to a problem? Please describe.
Currently the Addressbook is missing a refresh function to refresh addresses from a mutt alias file. The type is currently:

Maybe (IO AddressBook)

this might be fine and we need to use try and catch any exceptions to show in the UI. However one downside is that we need to "lift" and throw ParseErrors. If we use Maybe (Either Error (IO AddressBook)) it will get gnarly but may represent parsing errors better.

Describe the solution you'd like
Figure out which solution is better.

Describe alternatives you've considered
See description

Additional context
none

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

No branches or pull requests

1 participant