OK icon indicating copy to clipboard operation
OK copied to clipboard

Result Type

Open giddie opened this issue 4 years ago • 0 comments
trafficstars

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()?

giddie avatar Apr 21 '21 08:04 giddie