[ prog / sol / mona ]

prog


Cartesian product.

10 2019-01-12 14:37

>>9
This function is actually broken because I'm memoizing the result of evaluating the curried function as the result for every call to a sublist of An, this means it's returning the first all of the memoizing for every recomputation. The point is thus even more clear the function is of equivilent performance, ugly, wrong, and dependent on libraries, interesting stuff. (gotta look into what's actually happening here)

12


VIP:

do not edit these