Giter VIP home page Giter VIP logo

Comments (7)

JacquesCarette avatar JacquesCarette commented on August 16, 2024 1

If we go with top-level WithK, I completely agree that it ought to be able to refer to anything outside, but not the other way around. And indeed, re-exports are possible.

This might not fully solve the "what is Strict" issue, but at least it'll be clear that everything under the WithK hierarchy are strongly truncated.

from agda-categories.

sstucki avatar sstucki commented on August 16, 2024

Interesting question.

I don't like the idea of mixing with/without K. (I wonder why it is done like this in the stdlib.)

Having a separate top-level WithK module seems like a nice approach. I'd suggest that modules nested in WithK should be allowed to refer to those outside, but not vice-versa, so that without-K-modules are not accidentally tainted. And everything that can, should of course still go in the without-K-part of the hierarchy. One could then have a WithK version of some modules that re-export functionality from outside (e.g. the weak Grothendieck construction) and add extra proofs/constructions (e.g. the strict Grothendieck construction).

from agda-categories.

sstucki avatar sstucki commented on August 16, 2024

OK, I'll take care of this when I get some time (and after reworking #42).

from agda-categories.

HuStmpHrrr avatar HuStmpHrrr commented on August 16, 2024

if WithK is a separate hierarchy, wouldn't it be mostly empty?

from agda-categories.

JacquesCarette avatar JacquesCarette commented on August 16, 2024

The sparser the better! But I'm fine with that.

from agda-categories.

gallais avatar gallais commented on August 16, 2024

I don't like the idea of mixing with/without K. (I wonder why it is done like this in the stdlib.)

In the stdlib we adopted --without-K and --safe as defaults. As a consequence
--with-K and "unsafe" are considered outliers and even sometimes evidence of the
compiler not being advanced enough to recognize K-freeness or safety.
Correspondingly modules tainted by these options are left behind, like an afterthought.

from agda-categories.

JacquesCarette avatar JacquesCarette commented on August 16, 2024

Right now, there is no use of --with-K at all in the library. So there doesn't seem to be anything to 'do' for this particular issue (other than to decide how to organize things). And that decision seems to have been done: Use Categories/WithK as a hierarchy.

from agda-categories.

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.