From: James Hurford <terrasea@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-babel ocaml List append problems
Date: Fri, 6 May 2011 11:16:30 +1200 [thread overview]
Message-ID: <BANLkTikjrz-GgvobT=deKH3PryDaU2M9=g@mail.gmail.com> (raw)
In-Reply-To: <87fwosuatx.fsf@gmail.com>
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.eric@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 <terrasea@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
terrasea@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
prev parent reply other threads:[~2011-05-05 23:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-05 12:45 org-babel ocaml List append problems James Hurford
2011-04-19 15:44 ` Eric Schulte
2011-05-05 20:45 ` Eric Schulte
2011-05-05 23:16 ` James Hurford [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTikjrz-GgvobT=deKH3PryDaU2M9=g@mail.gmail.com' \
--to=terrasea@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=schulte.eric@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).