-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Splitting Data.Char.Base
#1489
Comments
Hmm so I don't think that this is inconsistent with the current design. For datatypes such Do you have any concrete problems with the definitions living here? I've looked through |
I could probably live with these particular relations being moved to |
Does infix 4 _≤_
_≤_ : Rel Char zero
_≤_ = ReflClosure _<_ get any use prior to defining it (and its many properties/structures/bundles...under Seemingly only UPDATED (after @JacquesCarette 's confusion below): I probably should have emphasised 'instead' (and moved it forward in the sentence) above; I was speculating about moving the definition wholesale to |
I must be missing something "does X get any use prior to defining it" seems like a nonsensical question - how can you use something before it's been defined? So there must be some miscommunication happening somewhere. |
I'd be happy to have them moved to |
@JacquesCarette Sorry for my hasty typing above... What I'd been trying to say was (something like)
The answer to the 'does it get used elsewhere?' seems to be: yes, but not in such a way that moving its definition to Now, that does make it a 'special case', distinct from the others (defined as primitive, or by delegation to Hope this is a bit clearer!? UPDATED: perhaps clearer still would be a wholesale refactoring of UPDATED: this mostly works, but the Conclusion: suggest we tag as v3.0? |
I tried thinking whether there is a design meta-heuristic available to be codified here (besides 'reduce dependencies in ... cf. my war against |
In #1488 , I did not notice that
Data.Char
defines a bunch of relations which, in other parts, are done in separate sub-modules. In particular, I suggest thatbe moved to
Data.Char.Properties.Base
and re-exported byData.Char
(but notData.Char.Base
).The text was updated successfully, but these errors were encountered: