Coder Social home page Coder Social logo

Instances imported multiple times about doctest HOT 4 CLOSED

sol avatar sol commented on June 9, 2024
Instances imported multiple times

from doctest.

Comments (4)

sol avatar sol commented on June 9, 2024

@robinp I can't reproduce this. Can you please add the output of doctest --version?

BTW: Sorry for the slow turnaround ;)

from doctest.

robinp avatar robinp commented on June 9, 2024

Hello, just cabal-installed doctest and retried, same message. Versions:

$ doctest --version
doctest version 0.9.5.1
using version 7.4.1 of the GHC API
using /usr/lib/ghc/bin/ghc-7.4.1

from doctest.

sol avatar sol commented on June 9, 2024

This seems to be a bug in ghc-7.4.1/ghc-7.4.2. Doctest uses GHCi under the hood, so things that do not work in GHCi won't work with Doctest.

If you upgrade to ghc-7.6.1 or ghc-7.6.2 then your example will work both in GHCi and with Doctest.

from doctest.

sol avatar sol commented on June 9, 2024

I'm closing this because I think there is nothing we can do about this in Doctest.

@robinp If you have any ideas how to address this then please open a pull request ;)

from 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.