functional programs in lisp, perl and go