Use tyConArity rather than (length tvs)
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 2 Mar 2016 15:22:46 +0000 (15:22 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Wed, 2 Mar 2016 15:24:51 +0000 (15:24 +0000)
commitaea1e5dbfd841edf546e789df496e77389d26f65
tree1580ce652ff2e3507ff1f7ebb008ac4ab3d80a19
parent286dc021ef515d02453cd5e31774b852d3a1310f
Use tyConArity rather than (length tvs)

A bit more efficient
compiler/types/TyCon.hs