From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Babel: verbatim results yield a table Date: Thu, 02 Aug 2018 15:19:06 +0300 Message-ID: <877el9arlx.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flCZg-0002ZW-14 for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 08:19:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flCZb-0005E8-U3 for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 08:19:23 -0400 Received: from [195.159.176.226] (port=55921 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flCZb-0005D9-GK for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 08:19:19 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1flCXR-0007Fq-NR for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 14:17:05 +0200 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" To: emacs-orgmode@gnu.org Greetings. The org manual states that in the :results header argument of a block verbatim Interpret literally and insert as quoted text. Do not create a table. Usage example: :results value verbatim The quote above is from https://orgmode.org/manual/results.html Given this description, I am trying to understand the result below from a Scheme snippet (this is an exercise in the good old SICP). In particular, why is the table created from the (nested) list? Jarmo #+BEGIN_SRC scheme :exports both :results value verbatim (define (deep-reverse lst) (define (deep-iter lst result) (if (null? lst) result (let ((first (car lst)) (rest (cdr lst))) (deep-iter rest (cons (if (pair? first) (deep-reverse first) first) result))))) (deep-iter lst '())) (deep-reverse (list (list 1 2 3 4) (list (list 5 6) 7 8))) #+END_SRC #+RESULTS: | 8 | 7 | (6 5) | | | 4 | 3 | 2 | 1 |