Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
99 Bottles of Elixir... #6
We’re back! The slow start for 2016 has been because I’ve been completing an Elixir online video course. The course is called Elixir for Beginners http://www.elixirforbeginners.com and at the moment it’s hosted on Udemy: https://www.udemy.com/elixir-for-beginners/.
For example the program will work something like this:
My 238 char solution is in this Gist, will keep updating it: https://gist.github.com/henrik/a21fc19cb1f8fca445e5
You can see the progress down from the initial 256 chars.
I'll assume we don't need to explicitly call the function
Well, I see that not only am I slow, but I'm using too many chars too: 258.
Task is clever! I did it with raw spawn in a recursive anonymous fn. Maybe I'll get the obfuscated bonus prize :-)