Update indexh.hs

Correcting incorrect function names.