Git Product home page Git Product logo

Comments (3)

ljubobratovicrelja avatar ljubobratovicrelja commented on August 11, 2024

hmmm...

static size_t[2] foo(size_t[2] pos) { return pos; }
void main(string[] args)
{
    auto v = ndiota(3, 3).map!foo.slice;
}

... This works! Can anyone tell me why? :)

from mir-algorithm.

9il avatar 9il commented on August 11, 2024

Thank you for the bug report! Fixed in v0.0.25.

@9il, I tried sorting this out by myself, but I can't make heads or tails with it. That said, I think it would be really productive if you could make some sort of tutorial (wiki page maybe) about internals of ndslice, i.e. how stuff works. I'd really like not to bug you from time to time to fix a bug in ndslice, but rather to fix it myself, but I feel without this introductory tutorial from you, lot of time has to pass before I'm able to do that. I'm sure other people would also appreciate a tutorial like this.

Yes, hope to do it

from mir-algorithm.

ljubobratovicrelja avatar ljubobratovicrelja commented on August 11, 2024

Fixed in v0.0.25.

Awesome, tnx!

Yes, hope to do it

Even more awesome! :)

from mir-algorithm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.