jliszka/probability-monad — pull request #4 by jcazevedo (2014-01-27 16:48:52+00:00)
Title: Make the alias method tail recursive to avoid stack overflow

This PR makes the alias method tail recursive, in order to avoid throwing a `java.lang.StackOverflowError` exception on large collections.