From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28271 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: [some success] (was: Mac 10.15 compiling using ghc) Date: Sun, 02 May 2021 13:33:10 -0700 Message-ID: References: <87wnsjewqw.fsf@mat.ucm.es> <87czubeo4d.fsf@mat.ucm.es> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36314"; mail-complaints-to="usenet@ciao.gmane.io" To: Uwe Brauer , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBE4ZXSCAMGQESFT35RI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 02 22:33:26 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f184.google.com ([209.85.167.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ldImM-0009Ml-0D for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 02 May 2021 22:33:26 +0200 Original-Received: by mail-oi1-f184.google.com with SMTP id s9-20020acadb090000b0290101bacefaa4sf2782835oig.2 for ; Sun, 02 May 2021 13:33:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1619987605; cv=pass; d=google.com; s=arc-20160816; b=vXjjM8Ox0+koybA8IfVvfmiN9nVG0qPIrpyu0oUrbginCpMgkFrGUH2cA7rJvtiQ+C XXYWuY2qydfj7uOIdTF5KJapnr57cDMaW1Rqil2uEy9+FDC0JDBEp9Fq7Mv4lm2W/oHY Lo/F/hpnytLgEnx+FjkGaooxg9v6IgJ+gyZndHIsVQlXb9YEnW8sjpna/iUrl2mnJOzs zTW/axtbjqWfujFET3//0eircy8eyU6sT1/pOqiLtjO20nulm+nIK6C77VD3uVbYgBxe Irka8msauMkGxTKWM5GkSz7g3kvBQY0MrqZuv1Cu7HTLpWRdYyoAi7U9+8v0/lir9TYC v/mQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=1ctDyaHa3WDaXzKPTEjJs+Sz17lXgIgMMbsHRwi1/H0=; b=Jb6I6Y1fRy8ZB+ZS/xK7NLccZlg468FMWROHEtdCzyCWCO3tV/yNTfxxZyqe6rX2+Q U21bZQBLNC3+LaxMC6c6AIWqXvptSdYU/52lzaBCXG569NOKytBmwnfOB/GszG3yjRng dSQMpjVTb2oB5ZZviwjtKkQcHJDy5Mly3rAeZ/VRnY8blDH5wKHToLikwZ60kzM8ARHA tNgUQIOlfA48gM7HqtMVvP84WwW27r3bP8ez6oYV4RZNxDPjqz+hzeGsyfkf9kzysIW6 QpepQqPRL5eT2HnX5AsBv8djD1zb1O3S27w5JFjaZsohZYaRnN56zSlweEE6vb1lQHmQ gT1g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=w8xo9my5; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=1ctDyaHa3WDaXzKPTEjJs+Sz17lXgIgMMbsHRwi1/H0=; b=g87CU46SGb+sJb7Hn6X/lMj0EdcV0GsrK5poHWN7ylN2LUvvvqVZ5IHDNnWvx4fDeB 7zes9z8A8F7BgkAvXsRjcmG9unSqAVLhP1R7DeNof27ifqJAOrguyvKeF1SfAws6Oq+f 3Ztr1P/i4hUSfULZPAjs1IrpR5Tkoiae9NJV9A4lJWh8bnphhuNeYQAzg/8YUYg9G+Db nh8sTMnJMhfK3S+GuGIgZ6OD/gdvjlxsFb7AdzpRmlCrCV4jkzawNynKLAux+wCz7gJ/ EbHWRRaU0mF+60nJRYhS0F0eTsgZDhRNZHyl/2A5o/OQfX7q+3RwRdE4hQMmncI1NB3g A0hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=1ctDyaHa3WDaXzKPTEjJs+Sz17lXgIgMMbsHRwi1/H0=; b=os+vXeONrVFI3L8/s6/ig46Ne4hK0FgUCeFvjCcMWBVCj+urN4W9KvpeTRMEwybtMD GLGeonr1ZIRA2qXGs3bkO+J4vGsQua2XWM6sVvIxnNVol3K7u90zks69LHHhB7fEwc2N GHoSlrneuu6blAzZc7E1JIoYG9/sLHUoOI//WJtnsfDjxpLGXO2zQO3wdbdJZ2z48lAI 522iRG+LRkv0Z3MDSRb5YEDjIV7x8oIlkHzqGrpegIv2Rw6T2xFETpTPFcZzry9hMBKT VfG3nvrerdvkWEfPwUfoo5S52edSd+/QC+mmBAkv45IBEy9bXZ4oi0MW1uR9NT3polgR Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531Nlh36uzLC7zaMUXwfwynzmD8HRyTYTmOhNyo7aP4waCKyTBWy nUs2SuDcH6Ob09mtsA0hYxU= X-Google-Smtp-Source: ABdhPJypIiLbd7N/SSre0BCWq2byZEAuJnt+6fJjl3+sxRs2z6oYob/cCWY9DZSLOFPC1ytpTLaRaA== X-Received: by 2002:a05:6830:14d3:: with SMTP id t19mr11576393otq.95.1619987604997; Sun, 02 May 2021 13:33:24 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:605:: with SMTP id w5ls3233551oti.8.gmail; Sun, 02 May 2021 13:33:23 -0700 (PDT) X-Received: by 2002:a05:6830:2117:: with SMTP id i23mr11577245otc.331.1619987603590; Sun, 02 May 2021 13:33:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619987603; cv=none; d=google.com; s=arc-20160816; b=pyUsXvKKQJ5vkWwUMY4P3WgIerUxd4oFBMO8PsYFwIYrdVQpZTcPgZIz8RBeewPLaa BLNFp2lS3crsanxODzlSadKLrc0GEG5WdzSYzYRJbt1dFuhZ5KHPQ76kYnV50WlggRm0 dEoMkAgtBJn3eKj9UgCbPFgGF2fmaptdWswz5ZKEIhBFF2wiQnbvNUc9AKf9Io154Ajp 7PmrzlYmmW3eXTJbDlaGWcqhY13A0tzPpHt26iOQXL1i6zqP6A2idaU6lACeWCHyc1ZJ r+Z8Q1abpTEoTjh/hfrN6Rk+DVLnRuPwUou0QrxeQaVWHIxtO+1zkzVhb67vvwLIjS/r 4nSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=uKTR8XsellZL/iIbGC0y15VoiONnobmOYM/79NDJZdw=; b=ipdsbmB53l0FGqs4JCRIIfdUPv7FjLNsgdSwyMiR7wHZOBfWaqDnJVvPfVTaFvomWC Vkw2Q9K2xaX3KqGiiCelfdtFPp3zTdV7ZDvwvey/eWBRhIi6dy17SCg/XPG2m8Spg0oE NQYn4yNliuRijEMkW8zaw7lVCuLQNEWKjD95eOIc83C/VhFW4sDf2rlk8LlOc4MaZtos JYSUdFTPllBxXkMXOLoEnQmOg2N1LrrIiUVXZ25F8+FZJ5LWtpYN3CpQ4hoYMQ9qixoz i5ITigrH5sZuQ8AxxrnuMgphpVW3jZi5Rl+daWKndpfi6+Z4UkWpC+2xg4jbZBM2vLD8 o1FQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=w8xo9my5; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com. [2607:f8b0:4864:20::533]) by gmr-mx.google.com with ESMTPS id w16si1297726oov.0.2021.05.02.13.33.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 May 2021 13:33:23 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) client-ip=2607:f8b0:4864:20::533; Original-Received: by mail-pg1-x533.google.com with SMTP id i14so2301791pgk.5 for ; Sun, 02 May 2021 13:33:23 -0700 (PDT) X-Received: by 2002:a63:570b:: with SMTP id l11mr15089987pgb.193.1619987602260; Sun, 02 May 2021 13:33:22 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id g29sm7434896pfq.148.2021.05.02.13.33.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 May 2021 13:33:21 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id D9C7CA231; Sun, 2 May 2021 16:33:10 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=w8xo9my5; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28271 Archived-At: This one is easy. After this filter was written, pandco-types changed to using Text instead of String. Probably the easiest fix is to add the line {-# LANGUAGE OverloadedStrings #-} to the top of the filter. Uwe Brauer writes: >>>> "JM" =3D=3D John MacFarlane writes: > >> Although with the old version of cabal you have, it might >> work just to do > >> cabal install pandoc-types > >> and then ghc --make as before. > > So finally=20 > > 1. I un installed the ghc provided by fink, > > 2. I then used https://www.haskell.org/ghcup/ > > 3. And installed ghc and the corresponding cabal version > > 4. cabal install --lib pandoc-types > > ghc --make stripmath.hs > > ,---- > | Loaded package environment from /Users/oub/.ghc/x86_64-darwin-8.10.4/en= vironments/default > | [1 of 1] Compiling Main ( stripmath.hs, stripmath.o ) > |=20 > | stripmath.hs:4:38: error: > | =E2=80=A2 Couldn't match expected type =E2=80=98Data.Text.Internal.= Text=E2=80=99 > | with actual type =E2=80=98[Char]=E2=80=99 > | =E2=80=A2 In the first argument of =E2=80=98Str=E2=80=99, namely = =E2=80=98"FORMULA"=E2=80=99 > | In the expression: Str "FORMULA" > | In an equation for =E2=80=98stripmath=E2=80=99: > | stripmath (Math _ _) =3D Str "FORMULA" > | | > | 4 | where stripmath (Math _ _) =3D Str "FORMULA" > | | ^^^^^^^^^ > |=20 > `---- > > Sigh, what is now the problem? > > Regards > > > --=20 > You received this message because you are subscribed to the Google Groups= "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/m27dkhc9a5.fsf_-_%40mat.ucm.es. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/m2tunkswop.fsf%40MacBook-Pro.hsd1.ca.comcast.net.