Code Monkey home page Code Monkey logo

Comments (6)

phadej avatar phadej commented on July 30, 2024

build-type: Custom and mixins (or backpack in general) just don't work together.

from cabal-doctest.

dcastro avatar dcastro commented on July 30, 2024

@phadej Ah, that's sad to hear :/ Is that an intrinsic limitation, or is there a chance (even if slim) mixins and Custom may work in the future?

from cabal-doctest.

phadej avatar phadej commented on July 30, 2024

In theory they could. In practice it requires a lot of engineering (which I think is wasted work).

I have made cabal-docspec which allows to run doctests on anything you can build with cabal-install: https://github.com/phadej/cabal-extras/tree/master/cabal-docspec; If you have a choice use it. I'm tempted to deprecate cabal-doctest in the near future, as I have no use for it myself and there is a replacement (though not strictly better, there are different - IMHO better - trade-offs).

from cabal-doctest.

dcastro avatar dcastro commented on July 30, 2024

Interesting! How would I go about using it? For example, in this test repo, how would I enable cabal-docspec?

from cabal-doctest.

phadej avatar phadej commented on July 30, 2024

Please read the manual first.

from cabal-doctest.

dcastro avatar dcastro commented on July 30, 2024

Oh, I completely missed the manual.md, I was looking for a readme.md 😅 Thanks, I'll have a look!

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.