robinmonjo / coincoin

Blockchain based cryptocurrency proof-of-concept built with Elixir. Feedback welcome
404 stars 54 forks source link

Add spec types to all functions #14

Closed yordis closed 7 years ago

yordis commented 7 years ago

@robinmonjo before you keep going man it is really important to add the type spec of the functions. You dont need to write that much documentation but at least with the type spec I know what the function specs and what it returns.

I wish I could do it myself but I have to track down all the code in each function to know about it.

robinmonjo commented 7 years ago

This is a work in progress. It takes some times, dialyzer drive me nuts !! Not that easy to get specs right ...