refactor to snake case function names
Merge pull request #943 from wilmoore/erlang-trinary-snakecase

refactor to snake case function names