Code Monkey home page Code Monkey logo

Comments (3)

phadej avatar phadej commented on July 30, 2024

In the Setup.hs you have doctests, but your test-suite is ``doctest(without trailings`).

After that you have also not-specify NoImplicitPrelude (it will be picked for the runtime from the library section).

-i
-i/home/ogre/mess/html-entities/dist-newstyle/build/x86_64-linux/ghc-8.2.1/html-entities-1.1.4/build/autogen
-i/home/ogre/mess/html-entities/dist-newstyle/build/x86_64-linux/ghc-8.2.1/html-entities-1.1.4/build
-i/home/ogre/mess/html-entities/library
-hide-all-packages
-no-user-package-db
-package-db=/home/ogre/.cabal/store/ghc-8.2.1/package.db
-package-db=/home/ogre/mess/html-entities/dist-newstyle/packagedb/ghc-8.2.1
-package-db=/home/ogre/mess/html-entities/dist-newstyle/build/x86_64-linux/ghc-8.2.1/html-entities-1.1.4/package.conf.inplace
-optP-include
-optP/home/ogre/mess/html-entities/dist-newstyle/build/x86_64-linux/ghc-8.2.1/html-entities-1.1.4/build/autogen/cabal_macros.h
-XArrows
-XBangPatterns
-XConstraintKinds
-XDataKinds
-XDefaultSignatures
-XDeriveDataTypeable
-XDeriveFoldable
-XDeriveFunctor
-XDeriveGeneric
-XDeriveTraversable
-XEmptyDataDecls
-XFlexibleContexts
-XFlexibleInstances
-XFunctionalDependencies
-XGADTs
-XGeneralizedNewtypeDeriving
-XLambdaCase
-XLiberalTypeSynonyms
-XMagicHash
-XMultiParamTypeClasses
-XMultiWayIf
-XNoImplicitPrelude
-XNoMonomorphismRestriction
-XOverloadedStrings
-XPatternGuards
-XParallelListComp
-XQuasiQuotes
-XRankNTypes
-XRecordWildCards
-XScopedTypeVariables
-XStandaloneDeriving
-XTemplateHaskell
-XTupleSections
-XTypeFamilies
-XTypeOperators
-XUnboxedTuples
-package-id=unordered-containers-0.2.8.0-39db60305e0ee934f204fca069bbc3b76a6453a78391d4480a99278d225cbe04
-package-id=text-1.2.2.2-6ac7503a550e052bab70f5fb00918d012ca2eb46d94e829ff77a9c04eb9d1036
-package-id=attoparsec-0.13.1.0-ed2802cd21b4cce13b8bf5e17980cda31d824221a1603639a4398ecec47fa956
-package-id=base-prelude-1.2.0.1-f06b69ab1a04e449d9297e023afa2e5764be3c7fb6a85ba80b914d0fdf51b731
-package-id=base-4.10.0.0
-package-id=doctest-0.12.0-70982e5605e0d65cd77f6e80ca3b67d73508fe9fcf59b89c6af74bba4e3d4448
-package-id=directory-1.3.0.2
-package-id=filepath-1.4.1.2
HTMLEntities.Text
HTMLEntities.Builder
HTMLEntities.Parser
HTMLEntities.Decoder
HTMLEntities.NameTable
HTMLEntities.Prelude
Examples: 9  Tried: 9  Errors: 0  Failures: 0

from cabal-doctest.

nikita-volkov avatar nikita-volkov commented on July 30, 2024

Thank you for such a fast response!

Concerning the NoImplicitPrelude issue. Since custom preludes are so popular lately, how about adding an explicit import Prelude to the generated Build_doctests file, so that it wouldn't be affected by the NoImplicitPrelude build-target flag?

from cabal-doctest.

phadej avatar phadej commented on July 30, 2024

Yeah, why not. PR is welcome :)

from cabal-doctest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.