Use pattern matching instead of 'if'

Makes for flatter code since you do away with one level of indentation.
Each function clause handles one case.
lists:delete/2 is a noop if deleted elements isn't in list

That is, no need to check if the element is in the list before deleting.
Pattern match to detect empty list

No need to compute its length.
Use combo_prob/2 to eliminate duplication
Add a simple makefile
Parameterize textcase to simplify code

run_tests/0 now returns ok instead of than true.
Use function clauses instead of 'if'
Order values in guard expressions
Export run/1

To be able to run a single test from the shell.
Let it crash

If a test fails then the match generates an exception. Including T in
the matches is to see the value in the error report.
Simplify the assert
Add test target to makefile
Recurse
Don't use io:format for debugging

Erlang has great support for trace. Try this in a shell:

  dbg:tracer().
  dbg:p(all,c).
  dbg:tp(dice_cheat, x).
  test_dice_cheat:run_tests().

The match spec language used to specify what to trace on isn't the
simplest but once you learn enough of it you can really pinpoint your
trace if need be. I write code with traceability in mind.
Clean up the formatting
Add dice.{txt,erl}
Caching and minor tweaks
Merge branch 'tips' of http://github.com/jonath0000/dice-cheat into tips

Conflicts:
	GNUmakefile
	dice_cheat.erl
	test_dice_cheat.erl