Giter Club home page Giter Club logo

Comments (2)

bos avatar bos commented on May 18, 2024

(Imported comment by @dcoutts on 2006-01-20)

The Compiler abstraction should certainly be beefed up. I'm not sure we need to go as far as making a external serialised form.

Currently the Compiler value is passed around but is used as a bit of dumb data when it should really carry methods for doing interesting things and we should not be switching on the CompilerFlavour. The difficulty with doing this is that currently the Compiler value is passed around using the LocalBuildInfo which implements Show. We should really pass Compiler as a parameter but we cannot do that without changing the type signatures of the UserHooks which would break all custom Setup script again.

So we have to synchronise this change with our next planned break of UserHooks. Ideally that break should include a plan for an api style that does not involve so many breaks when we want to pass just a bit more info, like using some kind of monad where we can extend the environment without breaking existing code.

from cabal.

jsl avatar jsl commented on May 18, 2024

Doesn't seem like there is activity on this since 2006. I propose closing, please re-open a new issue if this is still desired.

from cabal.

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.