some extra C typing in functoolz.pyx