Sequential Decision Problems, Dependent Types and Generic Solutions | AMiner