Giter Club home page Giter Club logo

Comments (6)

np avatar np commented on August 15, 2024

I'm doing this now and documenting also which modules can be considered basic as well given their dependencies. By doing so, I realize that Relation.Nullary.Core has no purpose anymore. Indeed Relation.Nullary only depends on Relation.Nullary.Core and thus it cannot introduce a cycle to fuse them. Because of the policy on .Core modules it means we can safely drop it, right?

from agda-stdlib.

np avatar np commented on August 15, 2024

Also if the user is not suppose to use the .Core module then there should be a .Base module for Char and String, which I think can safely replace the corresponding .Core modules in this case.

Comments?

from agda-stdlib.

asr avatar asr commented on August 15, 2024

Yes, you can remove Relation.Nullary.Core.

from agda-stdlib.

andreasabel avatar andreasabel commented on August 15, 2024

Modifications to Char and String also approved.

from agda-stdlib.

asr avatar asr commented on August 15, 2024

Modifications to Char and String also approved.

I'm not sure. It seems these .Core modules really exist for avoiding cycling importations.

For example, why

show : Char → String
show = primShowChar

toNat : Char → ℕ
toNat = primCharToNat

from Data.Char shouldn't be in Data.Char.Base?

from agda-stdlib.

asr avatar asr commented on August 15, 2024

Thanks!

from agda-stdlib.

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.