<commit_before># Elm Platform

A bundle of all [Elm](http://elm-lang.org) tools:
[`elm`](https://github.com/elm-lang/Elm),
[`elm-server`](https://github.com/elm-lang/elm-server),
[`elm-repl`](https://github.com/elm-lang/elm-repl), and
[`elm-get`](https://github.com/elm-lang/elm-get).

## Install

If you have any trouble installing at all, open an issue on this repo and then
continue to the Platform Agnostic instructions which work on any OS.

**Mac** &mdash; use [the installer][mac] and continue the [getting
started walkthrough for Mac](http://elm-lang.org/onboarding/Mac.elm).

 [mac]: http://0726e2be3f48a1ed0f90-ec3c2a753a12d2be9f23ba16873acc23.r35.cf2.rackcdn.com/Elm-Platform-0.12.3.pkg

**Windows** &mdash; use [the installer][windows] and continue the [getting
started walkthrough for Windows](http://elm-lang.org/onboarding/Windows.elm).
If you run into issues compiling programs, you may need to manually set your `ELM_HOME`
environment variable to `C:/Program Files/Elm Platform/0.12.3/share` as reported
[here](https://github.com/elm-lang/elm-platform/issues/2).

 [windows]: http://0726e2be3f48a1ed0f90-ec3c2a753a12d2be9f23ba16873acc23.r35.cf2.rackcdn.com/Elm-Platform-0.12.3.exe

**Arch Linux** &mdash; follow [these directions](https://github.com/elm-lang/Elm/wiki/Installing-Elm#arch-linux) and then
jump to the [My First Project](#my-first-project) section.

**Platform Agnostic** &mdash;
download the [Haskell Platform](http://hackage.haskell.org/platform/)
then run these commands:

```bash
cabal update
cabal install elm elm-server elm-repl elm-get
```

Again, all this should work on any platform, from Windows to Ubuntu.

## Use

This installs four command line tools:
[`elm`](https://github.com/elm-lang/Elm),
[`elm-server`](https://github.com/elm-lang/elm-server),
[`elm-repl`](https://github.com/elm-lang/elm-repl), and
[`elm-get`](https://github.com/elm-lang/elm-get).
To be able to call them from the command line,
you may need to add them to your PATH.

## My First Project

Now we will create a simple Elm project.
The following commands will set-up a very basic project and start the Elm server.

    mkdir helloElm
    cd helloElm
    printf "import Mouse\n\nmain = lift asText Mouse.position" > Main.elm
    elm-server

The first two commands create a new directory and navigate into it. The `printf`
commands place a simple program into `Main.elm`. Do this manually if you do not
have `printf`. The final command starts the Elm server at
[localhost:8000](http://localhost:8000/), allowing you to navigate to
`Main.elm` and see your first program in action.

#### Final Notes

If you are stuck, check to see if anyone has had [a similar
issue](https://github.com/elm-lang/elm-platform/issues). If not,
open a new issue or email
[the list](https://groups.google.com/forum/?fromgroups#!forum/elm-discuss)
or ask a question in the
[#Elm IRC channel](http://webchat.freenode.net/?channels=elm). 
<commit_msg>Use Dropbox links instead of RackSpace<commit_after># Elm Platform

A bundle of all [Elm](http://elm-lang.org) tools:
[`elm`](https://github.com/elm-lang/Elm),
[`elm-server`](https://github.com/elm-lang/elm-server),
[`elm-repl`](https://github.com/elm-lang/elm-repl), and
[`elm-get`](https://github.com/elm-lang/elm-get).

## Install

If you have any trouble installing at all, open an issue on this repo and then
continue to the Platform Agnostic instructions which work on any OS.

**Mac** &mdash; use [the installer][mac] and continue the [getting
started walkthrough for Mac](http://elm-lang.org/onboarding/Mac.elm).

 [mac]: https://www.dropbox.com/s/qfz9n90jszcxa5q/Elm-Platform-0.12.3.pkg

**Windows** &mdash; use [the installer][windows] and continue the [getting
started walkthrough for Windows](http://elm-lang.org/onboarding/Windows.elm).
If you run into issues compiling programs, you may need to manually set your `ELM_HOME`
environment variable to `C:/Program Files/Elm Platform/0.12.3/share` as reported
[here](https://github.com/elm-lang/elm-platform/issues/2).

 [windows]: https://www.dropbox.com/s/qzcm9yyve54ss1l/Elm-Platform-0.12.3.exe

**Arch Linux** &mdash; follow [these directions](https://github.com/elm-lang/Elm/wiki/Installing-Elm#arch-linux) and then
jump to the [My First Project](#my-first-project) section.

**Platform Agnostic** &mdash;
download the [Haskell Platform](http://hackage.haskell.org/platform/)
then run these commands:

```bash
cabal update
cabal install elm elm-server elm-repl elm-get
```

Again, all this should work on any platform, from Windows to Ubuntu.

## Use

This installs four command line tools:
[`elm`](https://github.com/elm-lang/Elm),
[`elm-server`](https://github.com/elm-lang/elm-server),
[`elm-repl`](https://github.com/elm-lang/elm-repl), and
[`elm-get`](https://github.com/elm-lang/elm-get).
To be able to call them from the command line,
you may need to add them to your PATH.

## My First Project

Now we will create a simple Elm project.
The following commands will set-up a very basic project and start the Elm server.

    mkdir helloElm
    cd helloElm
    printf "import Mouse\n\nmain = lift asText Mouse.position" > Main.elm
    elm-server

The first two commands create a new directory and navigate into it. The `printf`
commands place a simple program into `Main.elm`. Do this manually if you do not
have `printf`. The final command starts the Elm server at
[localhost:8000](http://localhost:8000/), allowing you to navigate to
`Main.elm` and see your first program in action.

#### Final Notes

If you are stuck, check to see if anyone has had [a similar
issue](https://github.com/elm-lang/elm-platform/issues). If not,
open a new issue or email
[the list](https://groups.google.com/forum/?fromgroups#!forum/elm-discuss)
or ask a question in the
[#Elm IRC channel](http://webchat.freenode.net/?channels=elm). 

{'fraction_non_alphanumeric': 0.13793103448275862, 'fraction_numerical': 0.01990049751243781, 'mean_word_length': 4.4588014981273405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 26, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2384075', 'n_tokens_mistral': 2045, 'n_tokens_neox': 1914, 'n_words': 601}