ajeffrey: associated types being able to do weird stuff is fairly well known
i.e. as in this case
in fact, when I opened your example, the first thing I started looking for was an associated type. Took me a while because I was scanning from bottom to top haha
ajeffrey
nagisa: do you know of a reference for being able to code partial functors w/out HKT?
that is, it's totality that is the issue, not so much being a functor.
nagisa
no references, no. I don’t tend to collect/remember references
ajeffrey
nagisa: yes, AFAICT this is folklore :/
I'm hoping Conor knows a citation.
nagisa_w has quit
This is all a bit theoretical, mainly because it doesn't play well with type inference, e.g. a constraint Apply<OPTION, A> == Apply<OPTION, B> doesn't reduce to a constraint A == B.
AFAICT, associated types don't reduce quite when you expect them to, e.g. Apply<OPTION, A> doesn't always reduce to Option<A>.
jsgrant joined the channel
ubsan has quit
playbot-mini has quit
playbot-mini joined the channel
lukaramu joined the channel
Regexident joined the channel
Regexident has quit
nercury joined the channel
nercury has quit
Muhannad_ has quit
kimundi has quit
kimundi joined the channel
srwalker101 has quit
srwalker101 joined the channel
srwalker101 has quit
kimundi has quit
kimundi joined the channel
kimundi has quit
kimundi joined the channel
Ericson2314 joined the channel
ubsandroid joined the channel
ubsandroid2 has quit
jsgrant has quit
jseyfried joined the channel
rjung
when an RFC gets accepted, it often ends up getting harder to access it... the trouble is that people delete the branches they created for the PR; so the "Rendered" link in the first post of the PR becomes invalid
so, to actually read the RFC, I have to copy the RFC number, go to "Code", go to the rfcs folder, Ctrl-F, Ctrl-V, and then read that
est31
yes
afaik it has become a semi habit to edit the rendered link in the pr description
to point to master
rjung
not sure where is the right place to document such trouble, but I feel like the situation could be better (e.g. by changing the "Rendered" link to link into the repo now)
right
but I dont have permission to do that; is there some place to put RFcs that didnt have that done yet?
or someone to ping to do that?
est31
just ping someone with access
rjung
how would I know who does?
est31
the best thing you could do is to collect a list of merged rfcs
that have the issue
and then post it in irc, someone will take care of it hopefully
rjung
well I have three that I was trying to read today:
Zoxc: yeah, and then the prettified view. that has annoying green bars though, and may even be outdated in the RFC had ammendments
nagisa has quit
nagisa joined the channel
jseyfried has quit
ubsandroid2 joined the channel
jseyfried joined the channel
ubsandroid has quit
Jesin joined the channel
niconii joined the channel
davek_work joined the channel
davek_work
Hello all, I'm not sure if this is perhaps too simple for this channel but I have a setup quite like this: https://is.gd/IAqU1O in my code. I was operating under the assumption that the trait bound `where` clause on TraitB would mean that wherever TraitB is used, that bound would be assumed. However, the compiler is making me repeat that same trait bound
everywhere TraitB is used.
lukaramu has quit
Is my assumption incorrect or is this a bug?
Oh wow, it looks like after a full day of searching I find my answer immediately after asking. Looks like https://github.com/rust-lang/rust/issues/20671 might be the thing? Any progress been had on this or any workaround in the mean time?