From mboxrd@z Thu Jan 1 00:00:00 1970 From: dybbuk-qPb3x58jdZkAvxtiuMwx3w@public.gmane.org (Erik L. Arneson) Subject: [babel] Re: org-babel and OCaml - help? Date: Wed, 21 Jul 2010 09:56:14 -0700 Message-ID: References: <871vb383fu.fsf@gmail.com> <877hks8y13.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org "Eric Schulte" 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 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