Heavy Scala people: Can you rewrite this to produce “combinations” for any nonzero value of “numDice”? https://gist.github.com/dcbriccetti/b70a7ff65541d79c467d …
-
-
@tixxit Thanks. I would need to decipher that. This program is meant to be educational for a younger audience. match is looking better now
-
@dcbriccetti Ah, sorry! I'd suggest recursion then, if they've wrapped their heads around it :) https://gist.github.com/tixxit/55a194730c6b868bcb03 … - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.