AriMKatz

Results 79 comments of AriMKatz

That's exactly what I had in mind. Using normal inheritance sounds good, but is dispatching on returning an abstract type type stable? I plan to experiment later this week. Could...

@schlichtanders we're having a discussion about traits, Julia's philosophy on method typing, your package and some other ones here: https://julialang.zulipchat.com/#narrow/stream/237432-ml-ecosystem-coordination/topic/Better.20error.20messages Would be great to get your input!

Sure. We have this example from the manual: ``` struct Rational{T

I think I'm basically looking for something like this: https://www.fceia.unr.edu.ar/~mauro/pubs/cm-conf.pdf

> we cannot give constraints when defining a function. Does this mean we cannot statically dispatch on a trait?

Understood but I'm wondering more about code flow than type checking. Can I make two methods of a function `foo`, each a different implementation for either `Add1` and `Add2` and...

So, I want to be able to dispatch on any type that has an implementation of add1, and then just call that implementation in the method body. Let's say there's...

That all sounds quite excellent, I'm very excited about this work and what it bodes for me being able to use Julia at work :) To start, I'd like to...

How would this work with flux models that use particulars of cuarrays, such as custom kernels? Edit: At some point would it be possible to just import and compose layers...