Drakontas
MModular
•Created by Helehex on 8/5/2024 in #community-showcase
Thermo
this is awesome! what do you use to render this onto a window?
60 replies
MModular
•Created by Josiah on 8/4/2024 in #questions
Difficult Trait Conformance
yeah, this 100% needs parameterized traits, no way around it
9 replies
MModular
•Created by Josiah on 8/4/2024 in #questions
Difficult Trait Conformance
oh i see, because the
T
in __next__
may not necessarily be the same T
as the one from ListDatapipe
9 replies
MModular
•Created by Josiah on 8/4/2024 in #questions
Difficult Trait Conformance
and then also removed the
[T]
from the required traits9 replies
MModular
•Created by Josiah on 8/4/2024 in #questions
Difficult Trait Conformance
I made
__next__
in the trait take an inout self
, copied the parameters onto __next__
impl, and then made that one inout self
as well since it mutates self.index
9 replies
MModular
•Created by Josiah on 8/4/2024 in #questions
Difficult Trait Conformance
My
mojo -v
is 24.4, so ref[_]
doesn't parse for me yet, feel free to add it back in:
9 replies
MModular
•Created by Josiah on 8/4/2024 in #questions
Difficult Trait Conformance
definitely something that needs parameterizable traits to make this easy
9 replies
MModular
•Created by Josiah on 8/4/2024 in #questions
Difficult Trait Conformance
Might not be implementable except by moving
[T: CollectionElement]
parameter from ListDatapipe
to every function of ListDatapipe
, but you still run into the issue with var src: List[T]
9 replies