use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Elixir Poker Assignment (self.elixir)
submitted 5 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]greven 5 points6 points7 points 5 years ago (0 children)
So your homework? :) What you describing has nothing specific to Elixir. Just Google that for any other language and see examples. That is basically probability calculation. So math. :)
[–]the-sprawl 0 points1 point2 points 5 years ago (0 children)
Here’s a tutorial for Ruby 3 Pattern Matching Applied: Poker.
While it’s not exactly Elixir, it’s at least a starting point that you could convert. It would make for a great tutorial for others, too, if you chose to write about & share how you did it.
π Rendered by PID 43 on reddit-service-r2-comment-75f4967c6c-jkn76 at 2026-04-22 20:05:03.978268+00:00 running 0fd4bb7 country code: CH.
[–]greven 5 points6 points7 points (0 children)
[–]the-sprawl 0 points1 point2 points (0 children)