curry.scm to be finished