public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Error when installing pandoc using cabal in Ubuntu 18.04.4 LTS on Windows Subsystem for Linux.
@ 2020-04-23 18:30 Ben Key
       [not found] ` <7fff0c35-72ba-4978-96e5-27d5b1b8ecaa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Key @ 2020-04-23 18:30 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1238 bytes --]

I get the following error when I run the `cabal install pandoc` command in 
Ubuntu 18.04.4 LTS on Windows Subsystem for Linux.

[5 of 9] Compiling Text.Pandoc.Arbitrary ( Text/Pandoc/Arbitrary.hs, 
dist/build/Text/Pandoc/Arbitrary.o )

Text/Pandoc/Arbitrary.hs:22:15: error:
    • Variable not in scope:
        liftShrink2
          :: (Text -> [Text])
             -> (Text -> [Text]) -> (Text, Text) -> [(Text, Text)]
    • Perhaps you meant ‘getShrink2’ (imported from Test.QuickCheck)

Text/Pandoc/Arbitrary.hs:34:28: error:
    Variable not in scope:
      liftShrink :: (Text -> [Text]) -> [Text] -> [[Text]]

Text/Pandoc/Arbitrary.hs:35:28: error:
    Variable not in scope:
      liftShrink
        :: ((Text, Text) -> [(Text, Text)])
           -> [(Text, Text)] -> [[(Text, Text)]]

-- 
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/msgid/pandoc-discuss/7fff0c35-72ba-4978-96e5-27d5b1b8ecaa%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3166 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error when installing pandoc using cabal in Ubuntu 18.04.4 LTS on Windows Subsystem for Linux.
       [not found] ` <7fff0c35-72ba-4978-96e5-27d5b1b8ecaa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-04-23 21:14   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2020-04-23 21:14 UTC (permalink / raw)
  To: Ben Key, pandoc-discuss


This probably means that we need a more restrictive lower bound
in pandoc-types for QuickCheck. (>= 2.10)

In the mean time you should be able to use cabal command line
arguments to require QuickCheck >= 2.10.

Ben Key <bkey76-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I get the following error when I run the `cabal install pandoc` command in 
> Ubuntu 18.04.4 LTS on Windows Subsystem for Linux.
>
> [5 of 9] Compiling Text.Pandoc.Arbitrary ( Text/Pandoc/Arbitrary.hs, 
> dist/build/Text/Pandoc/Arbitrary.o )
>
> Text/Pandoc/Arbitrary.hs:22:15: error:
>     • Variable not in scope:
>         liftShrink2
>           :: (Text -> [Text])
>              -> (Text -> [Text]) -> (Text, Text) -> [(Text, Text)]
>     • Perhaps you meant ‘getShrink2’ (imported from Test.QuickCheck)
>
> Text/Pandoc/Arbitrary.hs:34:28: error:
>     Variable not in scope:
>       liftShrink :: (Text -> [Text]) -> [Text] -> [[Text]]
>
> Text/Pandoc/Arbitrary.hs:35:28: error:
>     Variable not in scope:
>       liftShrink
>         :: ((Text, Text) -> [(Text, Text)])
>            -> [(Text, Text)] -> [[(Text, Text)]]
>
> -- 
> 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/msgid/pandoc-discuss/7fff0c35-72ba-4978-96e5-27d5b1b8ecaa%40googlegroups.com.

-- 
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/msgid/pandoc-discuss/m2o8rh3nvy.fsf%40johnmacfarlane.net.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-23 21:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-23 18:30 Error when installing pandoc using cabal in Ubuntu 18.04.4 LTS on Windows Subsystem for Linux Ben Key
     [not found] ` <7fff0c35-72ba-4978-96e5-27d5b1b8ecaa-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-04-23 21:14   ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).