Git Product home page Git Product logo

Comments (5)

david-christiansen avatar david-christiansen commented on May 16, 2024 4

@corazza The answer is "elaborator reflection", which gives the tools for writing deriver scripts for various interfaces, as well as other forms of metaprogramming/program automation.

from idris-dev.

corazza avatar corazza commented on May 16, 2024 3

@edwinb Can you expand a bit on what @david-christiansen has been doing, I'm interested in what "to make instance creation much easier, and more general than deriving." means, thank you

from idris-dev.

DestyNova avatar DestyNova commented on May 16, 2024 2

Is elaborator reflection really a suitable alternative to deriving? It doesn't seem easier at all...

from idris-dev.

jfdm avatar jfdm commented on May 16, 2024

The reason why this issue has been left open for so long is that 'deriving' involving Dependent Types is not so straightforward in comparison to non-dependent types. If deriving were to be supported then it should be available for both kinds of types, and no special cases should be added. It is all or nothing.

from idris-dev.

edwinb avatar edwinb commented on May 16, 2024

I'm going to close this because it's a bit open ended, and it's not even obvious that deriving is exactly what we want. There is work going on by @david-christiansen to make instance creation much easier, and more general than deriving.

from idris-dev.

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.