Comments (7)
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.
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.
OK, I'll take care of this when I get some time (and after reworking #42).
from agda-categories.
if WithK
is a separate hierarchy, wouldn't it be mostly empty?
from agda-categories.
The sparser the better! But I'm fine with that.
from agda-categories.
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.
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)
- Discrepancy of `unique` of `Product` and `unique` of `IsPullback` HOT 1
- Spelling mistake in Categories.Morphism.HeterogeneousIdentity HOT 1
- Suggested improvements for `IsPullback` HOT 1
- Bicategory terminology HOT 4
- Field names for RegularEpi/RegularMono are nondescriptive HOT 6
- Move Everything.agda to src. HOT 10
- Naming of fields in CartesianClosed Functor HOT 2
- Maybe the Hom version of Adjunction can be fully polymorphic? HOT 1
- Pull out adjunction between products and exponentials HOT 1
- Move Categories.Category.Diagram.Span to Categories.Diagram.Span
- Remove Categories.Category.Equivalence HOT 1
- `!-unique₂` takes implicit args in `Terminal`, whereas it takes explicit ones in `Initial` HOT 1
- ramp up stdlib version? HOT 14
- Caching on CI seems to be broken HOT 12
- NaturalNumber -> NNO? HOT 1
- Trivial solution set for Adjoint functor theorem HOT 8
- Yoneda is broken HOT 6
- Big dagger-category to-do list
- Support stdlib 2.0 HOT 4
- agda-categories should list compatibility versions on README HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agda-categories.