A System F accounting for scalars (Logical Methods in Computer Science, 2012)