Git Product home page Git Product logo

elm-koans's Introduction

Elm Koans

Instructions

  • Get Elm version 0.19.1
    • Make sure you have version 0.19.1 with elm --version
  • Clone this repo
  • Run the tests using one of the following methods:
    • In the browser with automatic refreshing (preferred)
    • In the browser (requires refreshing after editing files)
    • In the terminal
      • npm install -g elm-test
      • elm-test
        • Note this will produce a LOT of output, so you'll probably want to elm-test | head -n20 to just see the first couple failing tests
  • Use any editor to change the source files and make the tests pass. If you're not using elm-live you'll need to refresh your browser after making changes.
    • Placeholder values are denoted as x____replace me____x and will need to be replaced to make the tests pass

elm-koans's People

Contributors

dosarf avatar franklinchen avatar kofigumbs avatar landongrindheim avatar macroexpanse avatar pt2121 avatar rewinfrey avatar robertjlooby avatar rofrol avatar ryan1729 avatar tjmcewan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elm-koans's Issues

Test "month gets the month"

Hi Robert,

the test "month gets the month" is initially already green. I don't know why but I guess it should initially fail.

Cheers,
Joshy

scroll to bottom on page load

I think it would be nice if the page scrolled to the bottom when it loaded.

window.scrollTo(0,document.body.scrollHeight);

but not sure how to do this in elm

elm make

I had to run elm make right before elm reactor, otherwise I got this error message in the browser:

elm-make: elm-stuff/packages/elm-lang/core/3.0.0/src/Graphics/Element.elm: hGetContents: invalid argument (invalid byte sequence)
elm-make: thread blocked indefinitely in an MVar operation

Can you confirm this is really necessary so we can update the readme?

Thanks.

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.