fix curried functions typo [closes #92]