From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CHsYKLZO0mH8BAEAgWs5BA (envelope-from ) for ; Mon, 03 Jan 2022 02:17:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mG/DILZO0mH0qQAAG6o9tA (envelope-from ) for ; Mon, 03 Jan 2022 02:17:42 +0100 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 58FA5D844 for ; Mon, 3 Jan 2022 02:17:41 +0100 (CET) Received: from localhost ([::1]:53306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4Bym-00041U-69 for larch@yhetil.org; Sun, 02 Jan 2022 20:17:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4ByC-00041H-HH for emacs-orgmode@gnu.org; Sun, 02 Jan 2022 20:17:05 -0500 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:57584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4ByA-0000vC-32 for emacs-orgmode@gnu.org; Sun, 02 Jan 2022 20:17:04 -0500 Received: from cmgw13.mail.unifiedlayer.com (unknown [10.0.90.128]) by progateway3.mail.pro1.eigbox.com (Postfix) with ESMTP id 9006410046313 for ; Mon, 3 Jan 2022 01:17:00 +0000 (UTC) Received: from box2035.bluehost.com ([74.220.219.237]) by cmsmtp with ESMTP id 4By8nB764EaNC4By8n2ylX; Mon, 03 Jan 2022 01:17:00 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=dJtjJMVb c=1 sm=1 tr=0 ts=61d24e8c a=VozZY++RX3oc2UgfNhVfaA==:117 a=VozZY++RX3oc2UgfNhVfaA==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10:nop_charset_1 a=MKtGQD3n3ToA:10:nop_fastflux_from_domain_1 a=1oJP67jkp3AA:10:nop_fastflux_mid_domain_1 a=DghFqjY3_ZEA:10:nop_rcvd_month_year a=DPR-AOO6AYYA:10:endurance_base64_authed_username_1 a=A2tt7buDTgEA:10:from_fastflux_domain1 a=ZZnuYtJkoWoA:10:nop_header_rescan a=NR0c4wBeAAAA:8 a=o9zw6IYYAAAA:8 a=m4uRMdGBTKvTrS1Rx4AA:9 a=QEXdDO2ut3YA:10:nop_charset_2 a=-FEs8UIgK8oA:10:nop_fastflux_domain_1 a=NWVoK91CQyQA:10:nop_rescan a=G2KcVEonv2vs_TJwQPGf:22 a=BtxB1_lq3pBo68oZtZ_9:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tsdye.online; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wdCZ4MgSaMrdxbd5XBsfAfcb7tqi9FSu9ST9/OeCesE=; b=s1CHnjrykeTzTf+rnSc6QK+AFe KIbIYzwlcOkxKAmfJbMvqifs50PVA1ZYluZ2+oTu+rKYZdT5P9XjTdU/0w8wxETJvEUkGhGk5K6uq GzR3iHE9IAKa3EbA+jiWEfEjvbYj4IgJOzoQSz3VDbnUWqm7Y5JpQe+q3Y3HrHhX1DdMZx3GjseaQ M2bQydPOmL/tmTg0SgGQrACCsqiXKodwJhbF8tZT4PpacxBHtrmaLjjCKf7q8mWYg222IWgT5Swxp KsOtgaFF54+FZg/NSB5oNEuJQXDjeXWF4kvqEovO11yFRnBrxPQwNDURnYL5vr5A2qn52RWVe1iKD cXHQ/97w==; Received: from cpe-50-113-36-248.hawaii.res.rr.com ([50.113.36.248]:52942 helo=poto-foou.tsdye.online) by box2035.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n4By7-003Xaw-Pk for emacs-orgmode@gnu.org; Sun, 02 Jan 2022 18:16:59 -0700 User-agent: mu4e 1.2.0; emacs 27.1 From: "Thomas S. Dye" To: emacs-orgmode Subject: Haskell code blocks Date: Sun, 02 Jan 2022 15:16:57 -1000 Message-ID: <87a6gdaa9i.fsf@tsdye.online> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box2035.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tsdye.online X-BWhitelist: no X-Source-IP: 50.113.36.248 X-Source-L: No X-Exim-ID: 1n4By7-003Xaw-Pk X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-50-113-36-248.hawaii.res.rr.com (poto-foou.tsdye.online) [50.113.36.248]:52942 X-Source-Auth: tsd@tsdye.online X-Email-Count: 1 X-Source-Cap: dHNkeWVvbmw7dHNkeWVvbmw7Ym94MjAzNS5ibHVlaG9zdC5jb20= X-Local-Domain: yes Received-SPF: pass client-ip=69.89.25.95; envelope-from=tsd@tsdye.online; helo=gproxy1-pub.mail.unifiedlayer.com X-Spam_score_int: 23 X-Spam_score: 2.3 X-Spam_bar: ++ X-Spam_report: (2.3 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_BL=0.001, RCVD_IN_MSPIKE_L3=0.001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" 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=1641172662; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wdCZ4MgSaMrdxbd5XBsfAfcb7tqi9FSu9ST9/OeCesE=; b=szVuUgjBGk7Ee1sJyh7ThPqZGGTNHCPwA3qUAlQB5Kip4tIkNfHFCGKqbsazfzEVPnWn1F isaIlioCy3/HWrniz6/E8wJyHnuiglC7bkRRz2+air2Xfhv1TV9of20SAvz4QMxqlF3x2U eBd1zIcJk6xK++O9Dq6t3DrPJUUtULyeW/VE0lbLiPL6yAX9RJygAbI7QvYwpAHkGD56kr tHUZUZrMgnPrR6gnnRT0VybxnPs7GA4Qs/OMGiqOd6wQA5ebLBnneTtochlUm5hpkPzz/u blthL3k9JbqqUwp0CqNBmdEJwGLlFwvZG6pAd077z0vpOYGUchEWSlhBTsj+sw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641172662; a=rsa-sha256; cv=none; b=KMg7rfGsVr0R9qHEtX7ZfJ7lQiB6nEw2/BEaiK2cLPGEAUSuzzaMRiZMQHz6FfSejt1yv9 Wo68eaa/KI2ACAKK+c0v4IbzeL29gfx+4DbuD1HQLYZGS1kW4ftVTc8vEPjSD0W5nQZy6P y5DjITvsyjdPegMDa58Ts3GSWltz3L0gT7yjfZlCIsiAvGodURVRUxAhOtnsFdtfpRHeJR dPRR+Exa9uPziVPwbTcMk8ChC8pKSnxKyFwimN45YPwUEbkves3yeaj125Hj3XJgTqFg5X JpfD/waFeGCkbwokr9UNnAA0c3Cc7MGuUcsrRbllbbwdwI5JSp7Ee19NwI1aEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b=s1CHnjry; 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: -3.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b=s1CHnjry; 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: 58FA5D844 X-Spam-Score: -3.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: kNRC1uTNExKW Aloha all, Happy New Year! I'm struggling to write a minimal ob-doc-haskell.org for Worg. I installed Haskell via Spacemacs (development branch) and the=20 Haskell installation appears to be functioning correctly. The obligatory Hello World! example yields bad results. #+name: haskell-hello-world #+begin_src haskell=20 main :: IO ()=20 main =3D putStrLn "Hello, World!" main #+end_src #+RESULTS: haskell-hello-world : Prelude> Hello, World! I'm guessing the "Prelude>" part of the output is the prompt from=20 the interpreter. I found this in ob-haskell.el: (setq-local comint-prompt-regexp (concat haskell-prompt-regexp "\\|^=CE=BB?>=20 ")))) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 But I couldn't find a way to modify haskell-prompt-regexp without=20 changing the source. Advice welcome. All the best, Tom --=20 Thomas S. Dye https://tsdye.online/tsdye