From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6JWlEnA7sF5qWwAA0tVLHw (envelope-from ) for ; Mon, 04 May 2020 15:57:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KAdLF3o7sF4LbwAAB5/wlQ (envelope-from ) for ; Mon, 04 May 2020 15:57:46 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 C37B69451D4 for ; Mon, 4 May 2020 15:49:47 +0000 (UTC) Received: from localhost ([::1]:52954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVdLn-0005eQ-SC for larch@yhetil.org; Mon, 04 May 2020 11:49:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVdGd-0006jP-He for emacs-orgmode@gnu.org; Mon, 04 May 2020 11:44:27 -0400 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:42985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVdGc-0008H3-Mh for emacs-orgmode@gnu.org; Mon, 04 May 2020 11:44:27 -0400 Received: by mail-ot1-x330.google.com with SMTP id m18so9249862otq.9 for ; Mon, 04 May 2020 08:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=nR3f5aRnIRvDTmDar0wpmvgID3HPDpxPhFnYuN+hy48=; b=jBsHQuHAuMypu/Y/RsrGh5Kpcq3ScU0p5LXptverWTROHVYi/6SDSyqfD/TC9ZaTy9 eC4dIVzeKqytq3v8CVoArjoBqCq8BoDKcb9BF0mEKdkeIzJhCVHJp45+EtIOudUrB+Gs 30xxwKFHT5/lrkvp8zg8p1WMUi2k4PswSF9fFPDLNwI+I/WErQWOGIwKbZsFdkP76xkG xPVuUoyLW11qiA79v5X3OqGhlX2j/r4uNwI3sfn9LToXsEapimziU70/gUkC0dqipB06 gpMKv+OiFfryJaPSSAGtAk5CIrUqkzzfarBR0uwRb7tvrsNHair8d+PN4JZ5MH/V0y2G Jheg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=nR3f5aRnIRvDTmDar0wpmvgID3HPDpxPhFnYuN+hy48=; b=rXcvF4zYSaNgEf05YBS9kmb0oXDirN4X88hlKpmmpYDF/1eBO8JBEvlTzpFsoBN0wR wog3Gi14ByacFX/nXXBHlRomwxlmOqG8nOp2l2E6i0hC2xeJb0cnyFpMwAJ5qV3epqFh +TLH4bVpjXvCER5RCmqB4b1Jb2be9tggr5dMze7pggtPE6XWL0LOVe6pded/+ual/4KI mhLqbdoVnnKeYXlw/nskvJ+hDpOuj9IeX/CYpuZi/xMDnFbln8i0rcbu738UBUOP85wG Bif/yADxlq9Dby/Jwq6zPmJXA0rlm4ufQ2D+q5q4pcabj4KAxq561s+IjAQyT3DfIr9t PSmQ== X-Gm-Message-State: AGi0PuaaFEd1R1HZ7ckcwkm37lD3QoCDCMqg5ghf34RaR+OyqQrna4RZ JK63q2hibsbqtgW+IcqPXM/9HWp0FEV5/TaayZ5Pnw== X-Google-Smtp-Source: APiQypLdqgXrrtpGi/q/sfsKqmOrxWr1ZKvrc961OTGkS20ApURMGSs94sYwCqeJbV7htcmEpcdcDcgUGIZSf1Zqbso= X-Received: by 2002:a9d:6d12:: with SMTP id o18mr14877683otp.370.1588607065576; Mon, 04 May 2020 08:44:25 -0700 (PDT) MIME-Version: 1.0 References: <87zhan3fsa.fsf@nicolasgoaziou.fr> In-Reply-To: <87zhan3fsa.fsf@nicolasgoaziou.fr> From: Roland Coeurjoly Date: Mon, 4 May 2020 17:44:14 +0200 Message-ID: Subject: Re: Babel Haskell. Print all results when header has :results output To: Roland Coeurjoly , emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000d4d9c005a4d46776" Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=rolandcoeurjoly@gmail.com; helo=mail-ot1-x330.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 X-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jBsHQuHA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-1.71 / 13.00]; GENERIC_REPUTATION(0.00)[-0.49491651902101]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_BLOCKED(0.00)[gmail.com:dkim,2001:470:142::17:from]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.13), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com,gnu.org]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[rolandcoeurjoly@gmail.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[nicolasgoaziou.fr:email]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: LT9inb5qr6KO --000000000000d4d9c005a4d46776 Content-Type: text/plain; charset="UTF-8" No, I haven't yet. As it is required to firm them for the other patch, I am willing to firm them but unsure how to proceed. Please advise. On Mon, May 4, 2020, 17:01 Nicolas Goaziou wrote: > Hello, > > Roland Coeurjoly writes: > > > Right now, when executing the following source block > > > > #+begin_src haskell :results output > > [1..10] > > "hello" == "hello" > > #+end_src > > > > I get the following output: > > > > #+RESULTS: > > : True > > > > Whereas (for me) the desired result would be > > > > #+RESULTS: > > : [1,2,3,4,5,6,7,8,9,10] > > : True > > > > I created the attached patch that achieves the desired result. > > I added a proper commit message and applied your patch. Thank you! > > Have you signed FSF papers? If you haven't, you need to add TINYCHANGE > cookie in your commit messages (and consider signing them, of course!). > > Regards, > > -- > Nicolas Goaziou > --000000000000d4d9c005a4d46776 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No, I haven't yet. As it is required to firm them= for the other patch, I am willing to firm them but unsure how to proceed.<= /div>
Please advise.

On Mon, May 4, 2020, 17:01 Nicolas Goaziou &l= t;mail@nicolasg= oaziou.fr> wrote:
Hello,

Roland Coeurjoly <rolandcoeurjoly@gmail.com> writes:

> Right now, when executing the following source block
>
> #+begin_src haskell :results output
> [1..10]
> "hello" =3D=3D "hello"
>=C2=A0 =C2=A0 #+end_src
>
> I get the following output:
>
> #+RESULTS:
>=C2=A0 =C2=A0 : True
>
> Whereas (for me) the desired result would be
>
> #+RESULTS:
>=C2=A0 =C2=A0 : [1,2,3,4,5,6,7,8,9,10]
>=C2=A0 =C2=A0 : True
>
> I created the attached patch that achieves the desired result.

I added a proper commit message and applied your patch. Thank you!

Have you signed FSF papers? If you haven't, you need to add TINYCHANGE<= br> cookie in your commit messages (and consider signing them, of course!).

Regards,

--
Nicolas Goaziou
--000000000000d4d9c005a4d46776--