From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-babel ocaml List append problems Date: Thu, 05 May 2011 14:45:38 -0600 Message-ID: <87fwosuatx.fsf@gmail.com> References: <1302007500.4762.7.camel@tmnowr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI5Zq-0001Sy-8h for emacs-orgmode@gnu.org; Thu, 05 May 2011 16:55:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QI5Zp-0004qP-AT for emacs-orgmode@gnu.org; Thu, 05 May 2011 16:55:14 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:60048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI5Zp-0004qC-62 for emacs-orgmode@gnu.org; Thu, 05 May 2011 16:55:13 -0400 Received: by pvc12 with SMTP id 12so1624584pvc.0 for ; Thu, 05 May 2011 13:55:12 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: James Hurford Cc: emacs-orgmode@gnu.org Hi James, I get the following... #+begin_src ocaml [3;2;3] @ [3;2;3;4;5];; #+end_src #+results: | 3 | 2 | 3 | 3 | 2 | 3 | 4 | 5 | I recently (in the last month) pushed some changes up to the Org-mode git repository which fix result handling for ocaml. Please try with the latest version of Org-mode from git, and if the problem persists send along a minimal example sufficient to reproduce the problem. Thanks -- Eric James Hurford writes: > I have just discovered org-babel supports ocaml and I've just started to > learn it. My problem is when appending two lists together, when run > through org-babel returns a error message. I would try and run this > code > > [3;2;3] @ [3;2;3;4;5];; > > and get a error message saying > > "Invalid function: 3" > > Is there a solution to this as the code should work? > > James > > > > -- Eric Schulte http://cs.unm.edu/~eschulte/