From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Scheme code block gives false error message Date: Sun, 13 Sep 2015 04:03:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c340105b6532051f990819 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZayVs-0004vE-RV for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 00:03:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZayVr-0008Mm-UG for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 00:03:36 -0400 Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]:33225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZayVr-0008Mf-Lv for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 00:03:35 -0400 Received: by lamp12 with SMTP id p12so67868568lam.0 for ; Sat, 12 Sep 2015 21:03:34 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11c340105b6532051f990819 Content-Type: text/plain; charset=UTF-8 Again, this code #+BEGIN_SRC scheme :session ch1 :exports both (define (bool-imply a b) (if (or (not a) b) #t #f)) #+END_SRC gives the error org-babel-scheme-execute-with-geiser: Invalid read syntax: "#" and this time attempting to use the function #+BEGIN_SRC scheme :session ch1 :exports both (bool-imply #t #f) #+END_SRC produces no #RESULTS: block, rather, again, the error (in Messages buffer) org-babel-scheme-execute-with-geiser: Invalid read syntax: "#" even though this is perfectly healthy code, and it works in the accompanying "ch1" REPL. Any ideas what's happening? --001a11c340105b6532051f990819 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Again, this code

#+BEGIN_SRC schem= e :session ch1 :exports both
(define (bool-imply a b)
= =C2=A0 (if (or (not a) b) #t #f))
#+END_SRC

<= /div>
gives the error

org-babel-scheme-execute-with-geiser: Invalid read synt= ax: "#"

and this time attempting to use the function

#+BEGIN_SRC scheme :session ch1 :exports both
(bool-imply #t #f)
#+END_SRC

produces = no #RESULTS: block, rather, again, the error (in Messages buffer)

org-babel-schem= e-execute-with-geiser: Invalid read syntax: "#"

even though this is= perfectly healthy code, and it works in the accompanying "ch1" R= EPL. Any ideas what's happening?

--001a11c340105b6532051f990819--