libpromises/evalfunction.c: nth() should check if arg is an int later