GithubHelp home page GithubHelp logo

Upgrade exercises to Elm 0.17 about elm HOT 8 CLOSED

exercism avatar exercism commented on July 21, 2024
Upgrade exercises to Elm 0.17

from elm.

Comments (8)

despairblue avatar despairblue commented on July 21, 2024 1

Also we'd have to wait for elm-console to be upgraded to [email protected].

I'm happy to adapt the exercises while working through them. I just might need some guidance from time to time. At the moment I'm still struggling to get the testing to work, but I guess I have to wait for elm-console.

from elm.

lukewestby avatar lukewestby commented on July 21, 2024 1

Yep, the README wasn't updated with the changes. Now if you want to run in the console you use

main : Program Never
main =
    ElmTest.runSuite tests

and it will make use of Debug.log and Debug.crash internally to report to the console and crash the process on test failure.

from elm.

tgecho avatar tgecho commented on July 21, 2024 1

Yeah, I figured that much out (see PR #75).

Now we're mostly waiting to see if/when node-elm-test will be updated so we can keep the same workflow.

We also need to tweak the sublist example.

from elm.

lukewestby avatar lukewestby commented on July 21, 2024

Hello! I'm here to help with this! Having xelm upgraded to 0.17 has suddenly become a pressing need. So elm-community/elm-test no longer relies on elm-console, it can just be compiled and run in node. I can submit a PR or help y'all get things working some time in the next couple days. Let me know!

from elm.

despairblue avatar despairblue commented on July 21, 2024

@lukewestby So I assume the readme is out of date?

There is one more version of this function: consoleRunner : Test -> IO (). This is designed to work with Laszlo Pandy's elm-console library. See the below section on Testing from the Command Line for details.

from elm.

Swizz avatar Swizz commented on July 21, 2024

Hi guys.

I have this issue since the last change :

Could not find package elm-lang/core.

Maybe your elm-stuff/ directory has been corrupted? You can usually fix stuff
like this by deleting elm-stuff/ and rebuilding your project.

I tried to remove the elm-stuff/ and the ~/.elm folders but nothing works.

Regards,

from elm.

despairblue avatar despairblue commented on July 21, 2024

Can you try to delete the elm-package.json and refetch the exercise.

from elm.

Swizz avatar Swizz commented on July 21, 2024

This does not work.

I will try to reinstall all my elm environnent.

from elm.

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.