all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dybbuk-qPb3x58jdZkAvxtiuMwx3w@public.gmane.org (Erik L. Arneson)
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: [babel] Re: org-babel and OCaml - help?
Date: Wed, 21 Jul 2010 09:56:14 -0700	[thread overview]
Message-ID: <m2hbjsn58x.fsf_-_@tyche.LNouv.com> (raw)
In-Reply-To: 877hks8y13.fsf@gmail.com

"Eric Schulte" <schulte.eric-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> dybbuk-qPb3x58jdZkAvxtiuMwx3w@public.gmane.org (Erik L. Arneson) writes:
>> Great, I will start hacking away at it.  What's the process I need to go
>> through to sign FSF papers?
>
> See http://orgmode.org/worg/org-contribute.php#sec-2 for information on
> FSF copyright assignment.

I've submitted the paperwork, so now I'm just waiting to hear back from
them.  I'm still curious, though, as to how much you'd like me to change the
back-end behavior (i.e. the generated OCaml code and the way return
values are read) before checking with the community for their thoughts
and such.

The first table I tried to test on looked something like this:

--8<---------------cut here---------------start------------->8---
#+tblname: test
| John | 5 | 1.02 |
| Mary | 6 | 9.00 |
| Bob  | 7 | 0.50 |
--8<---------------cut here---------------end--------------->8---

With the patch you recently submitted, this makes an invalid array of
arrays in OCaml, so that's why I was thinking it should generate an
array of tuples instead, so the output might look like this:

--8<---------------cut here---------------start------------->8---
let test = 
  [| ("John", 5, 1.02);
     ("Mary", 6, 9.00);
     ("Bob", 7, 0.50) |]
--8<---------------cut here---------------end--------------->8---

It doesn't seem like many people are using ob-ocaml.el yet, so I can
probably just make that change, document it, and then hope for the best,
right?

-- 
Erik Arneson <dybbuk-qPb3x58jdZkAvxtiuMwx3w@public.gmane.org>
  GPG Key ID: 1024D/62DA1D25
  Office: +1.541.291.9776
  Skype: callto://pymander


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-07-21 16:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 15:12 org-babel and OCaml - help? Erik L. Arneson
2010-07-16 19:59 ` [PATCH] Fix list assignments in ob-ocaml.el Erik L. Arneson
2010-07-16 20:59   ` Erik L. Arneson
2010-07-17 18:08     ` Eric Schulte
2010-07-17  0:41   ` Bernt Hansen
2010-07-16 22:30 ` org-babel and OCaml - help? Eric Schulte
2010-07-18 14:30   ` Erik L. Arneson
2010-07-18 17:07     ` Eric Schulte
2010-07-21 16:56       ` Erik L. Arneson [this message]
2010-07-21 22:19         ` [babel] Re: org-babel and OCaml Eric Schulte

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2hbjsn58x.fsf_-_@tyche.LNouv.com \
    --to=dybbuk-qpb3x58jdzkavxtiumwx3w@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.