** safe lists for Haskell :PROPERTIES: :DATE: 2010-11-23 :END: | 1 | first | | 2 | second | | 3 | third | | 4 | fourth | #+begin_src emacs-lisp :var data=mixed-table (defun rec-string-wrap (in) (if (listp in) (mapcar #'rec-string-wrap in) (format "%S" in))) (rec-string-wrap data) #+end_src #+begin_src haskell :var tbl=rec-string-wrap(data=mixed-table) map head tbl #+end_src | 1 | 2 | 3 | 4 |