sashaafm / exads

Algorithms and Data Structures collection in Elixir
83 stars 12 forks source link

Fix dialyzer warnings for successful Travis CI build #20

Closed ghost closed 8 years ago

ghost commented 8 years ago

This PR fixes the three dialyzer warnings. I am suspicious of changing list(any) to nonempty_list(any) as I am not sure if this is an accurate typespec for the functions. Feel free to share your thoughts on this change.

Typespec resources:

sashaafm commented 8 years ago

Thank you @uranther

NobbZ commented 8 years ago

I did some comments on the commits, these are not meant as a direct critic to @uranther, but as a reminder in general.