fix bug in currying passing on docstring from methods; also make print put quotes around strings