Git Product home page Git Product logo

Comments (6)

evancz avatar evancz commented on July 19, 2024

I'm currently struggling to keep up with native reviews, so I just want to give you a heads up that I need to put these reviews on hold until after the dust settles from Promises. I suspect it'll mean changes to how typical users write native code, but I'm not sure yet.

Furthermore, I'd like to pursue the approach outlined here to make it so I no longer block people from sharing their code.

Sorry for the inconvenience :/ Hopefully we can get the long term plan in place soon!

from package.elm-lang.org.

uehaj avatar uehaj commented on July 19, 2024

I have read discussion you referred, and I understood.
I'll wait until those policy and repository system are established.
Thx

from package.elm-lang.org.

uehaj avatar uehaj commented on July 19, 2024

Hi, I changed this library for Elm 0.15.1 (thanks to @thSoft),
Can you re-review this?

I guess the reason why this review stopped was introduce timing of async Task of Elm 0.15.
Task feature have a possibility to replace JS Native code to Elm code.
But as far as this library, it is impossible to rewrite JS Native code to Elm,
concerned about performance reason.

But if there are other reason which I can't recognize now, please notice me.
So I can remove JS Native code.

from package.elm-lang.org.

laszlopandy avatar laszlopandy commented on July 19, 2024

One API recommendation: you should rename to to upTo so that it is symmetric with downTo.

As for the approval, I don't have any objects to the library itself however there are two things you might want to be aware of:

  • In the next release of Elm tail-call optimization will be enabled. This allows you to write self-recursive Elm functions which will never run out of stack space (the code is generated with a while loop).
  • In the next release of Elm the format for native modules will change a lot.

While we could approve this library now, I think it is better to wait for 0.16, and then rewrite this library in Elm (without native).

from package.elm-lang.org.

Apanatshka avatar Apanatshka commented on July 19, 2024

The native review pipeline is stalled. That's probably not news to you, but I wanted to leave a note on all the open reviews. I cannot speak for everyone, but as one of the reviewers I just want to speak up and say that I will not be doing more reviews. The warning about publishing native packages has changed, and Evan has mentioned multiple times in different places that one of his priorities for 0.17 is improving this process. So I'm going to wait for that. I'm sorry we cannot move forward with publishing your library, but my experience is that even if we review and approve it, it will become stuck waiting for Evan to whitelist it.

from package.elm-lang.org.

evancz avatar evancz commented on July 19, 2024

Sorry to keep this in limbo for so long. I am moving towards the plan outlined here and discussed a bit further in the 0.17 announcement.

I think now that we have TCO, you can write the iteration through as a recursive function and it'll get optimized to a while loop.

from package.elm-lang.org.

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.