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

Result Type #68

Open
giddie opened this issue Apr 21, 2021 · 0 comments
Open

Result Type #68

giddie opened this issue Apr 21, 2021 · 0 comments

Comments

@giddie
Copy link

giddie commented Apr 21, 2021

I feel like the library is missing a result(t, e) type for use in typespecs:

@type result(t, e) :: {:ok, t} | {:error, e}

It could also be a good idea to use this type as the input parameter for many of the functions instead of term()?

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