I ran the same code with C-c C-c and the result was the same #+begin_src ocaml [3;2;3] @ [3;2;3;4;5];; #+end_src
#+results: | 3 | 2 | 3 | 3 | 2 | 3 | 4 | 5 | Thank you James On 6 May 2011 08:45, Eric Schulte <schulte.e...@gmail.com> wrote: > 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 <terra...@gmail.com> 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/ > -- James Hurford terra...@gmail.com There are two ways of constructing a software design: one way is to make it so simple that there are obviously no deficiencies; the other is to make it so complicated that there are no obvious deficiencies. -- C.A.R. Hoare