From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wLilHS5+U2NssAAAbAwnHQ (envelope-from ) for ; Sat, 22 Oct 2022 07:22:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WL6ZHS5+U2MEBQEAauVa8A (envelope-from ) for ; Sat, 22 Oct 2022 07:22:54 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 208A440A84 for ; Sat, 22 Oct 2022 07:22:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1om6iC-0002Mr-WC; Sat, 22 Oct 2022 01:06:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1om6iA-0002Me-Ks for emacs-orgmode@gnu.org; Sat, 22 Oct 2022 01:06:18 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1om6i6-00035z-10 for emacs-orgmode@gnu.org; Sat, 22 Oct 2022 01:06:16 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1om6i3-0007Ni-1q for emacs-orgmode@gnu.org; Sat, 22 Oct 2022 07:06:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Jarmo Hurri Subject: Re: Haskell code blocks Date: Sat, 22 Oct 2022 08:06:04 +0300 Message-ID: <87ilkcphvn.fsf@iki.fi> References: <87a6gdaa9i.fsf@tsdye.online> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Cancel-Lock: sha1:zUfmojgR2DptP3sHqw383YYfVyw= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666416174; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Cb727EoFuC60878mopLRsws0iUehr4fs9blRwfXUFn4=; b=NYl/JXQDcSXbM8IMpU+RswJID3jm0D0GwZxNifE9aeISaOkqIBx3Ojoz4jkA66YbxsWH3K xprHaGGDlaBgXz1nTc96/EO94lbH0G6KQ0GgX5mLfDj1784zGwwvLLl0E7rDzL6JE2eKa1 1kXRBfj19lQO7oI/7Wo0S8kNXBININHZ+RjIL/bvNB1Gla7FZZ4roFlUW8oT0ooj7fsT/3 UD75al6CZmi/5PWa2uK0I+FlxDWtD0kfENz8FxUQFPWUYCYSPMV1mmHS2L53PxYdWipbZa d6RgY7U8mw9ABpCIwfdu1C4XBJH+DzJbp6twJ50P0bvXtBl5iltyeDCEDNz1zQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666416174; a=rsa-sha256; cv=none; b=PgcesMIPznLqbXbw1w4R0Nq10uIYt3hzIvOB4NikyKy1ZE46gc5Pv/s6w6dgazAh2NO02y I96FLv0DpR/jVYJZ8lH8h3bDBUbhKpuLnFObjRhx9FFHlfvW6WcGcoU4nAgXaeRCEIQMkc JbnpDmG0KeLmAyE4b/zu8r8pvYJYFKFkLghXK8BY+M4KBDMpLuRP/L5oRymvv+nVZ9BDvY E+olxpq3gPEWiS8hMkGh+h//Ag3cje2pwt3NAjXZSx8zKZvY8SisCQT5tkGDp2VbA16osU GSSorBySCG5ZjGeax130iLns2MZIvqILBCLMe9PGCOlo0eZS9Qkck4OKvpYTww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.74 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 208A440A84 X-Spam-Score: -0.74 X-Migadu-Scanner: scn1.migadu.com X-TUID: jVdlGkW0AEeK Greetings Thomas. "Thomas S. Dye" writes: > I'm struggling to write a minimal ob-doc-haskell.org for Worg. > > The obligatory Hello World! example yields bad results. > > #+name: haskell-hello-world > #+begin_src haskell > > main :: IO () > main = putStrLn "Hello, World!" > main > #+end_src > > #+RESULTS: haskell-hello-world > : Prelude> Hello, World! The good ole obligatory part is fulfilled by including ":session none": #+name: haskell-hello-world #+begin_src haskell :session none main :: IO () main = putStrLn "Hello, World!" main #+end_src #+RESULTS: haskell-hello-world : Hello, World! All the best, Jarmo