>>> "John" == John Kitchin <jkitc...@andrew.cmu.edu> writes:

   > (require 'dash)
   > #+tblname: tab2
   > | 1 | a | 3 |

   > | 2 | b | 4 |
   > | 3 | c | 6 |
   > | 4 | d | 7 |

   > #+BEGIN_SRC emacs-lisp :var c0=tab2[,0] :var c2=tab2[,2]
   > (-zip-with 'list c0 c2)
   > #+END_SRC

That does not work for me (I loaded dash)

Here is the backtrace
I also deleted the "-" in (-zip-with 'list c0 c2) to obtain
(zip-with 'list c0 c2), but zip-with is not known as a command.


Debugger entered--Lisp error: (wrong-type-argument listp "nil")
  -zip-with(list "nil" "nil")
  (let ((c0 (quote "nil")) (c2 (quote "nil"))) (-zip-with (quote list) c0 c2))
  (progn (let ((c0 (quote "nil")) (c2 (quote "nil"))) (-zip-with (quote list) 
c0 c2)))
  eval((progn (let ((c0 (quote "nil")) (c2 (quote "nil"))) (-zip-with (quote 
list) c0 c2))))
  org-babel-execute:emacs-lisp("(-zip-with 'list c0 c2)" ((:comments . "") 
(:shebang . "") (:cache . "no") (:padline . "") (:noweb . "no") (:tangle . 
"no") (:exports . "code") (:results . "replace") (:var c0 . "nil") (:var c2 . 
"nil") (:session . "none") (:hlines . "no") (:result-type . value) 
(:result-params "replace") (:rowname-names) (:colname-names)))
  org-babel-execute-src-block(nil)
  org-babel-execute-src-block-maybe()
  org-babel-execute-maybe()
  org-babel-execute-safely-maybe()
  run-hook-with-args-until-success(org-babel-execute-safely-maybe)
  org-ctrl-c-ctrl-c(nil)
  funcall-interactively(org-ctrl-c-ctrl-c nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
  command-execute(org-ctrl-c-ctrl-c)

Reply via email to