Review needed for first simple Elixir project

Hi everyone!

Couple days ago I wrote a very simple program to detect the winner of a poker game between two players in Elixir. Since this is my first program in Elixir and also is my first attempt to understand the functional programming, I am seeking for reviews on how to make it better. My mind is used to OO kind of thinking, so I guess there are spots that I can improve and embrace the language features. Thanks in advance:


Check the ‘Poker’ exercise from the Exercism’s Elixir’s track. You can check already submitted solutions and improve your own one based on that. To see how others approach the very same task is the killer feature of Exercism.

Looking at the API of your project (haven’t looked over the code) it seems very similar to the exercise I’m suggesting.